Install OCSSW SeaDAS 8.3 Mac OS
-
- Posts: 14
- Joined: Mon Jul 17, 2017 8:36 am America/New_York
Install OCSSW SeaDAS 8.3 Mac OS
Hi
I am having trouble installing the OCSSW processor in SeaDAS 8.3. I have tried to go through all of the recommendation such as installing requests and pointing to the system python 3, but I continue to get the following error.
execution exception: java.io.IOException: install_ocssw failed with exit code 1.
Check log for more details.
Traceback (most recent call last):
File "/var/folders/4p/87d70zqs1_n_rs3tnyvdycjr0000gn/T/install_ocssw", line 25, in <module>
import manifest as mf
File "/private/var/folders/4p/87d70zqs1_n_rs3tnyvdycjr0000gn/T/manifest.py", line 16, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
% which python3
/Users/andy/opt/anaconda3/bin/python3
% echo $PATH
/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/opt/anaconda3/bin/python3:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I have tried this both in bash and zsh shells.
Any help is appreciated.
Andy
I am having trouble installing the OCSSW processor in SeaDAS 8.3. I have tried to go through all of the recommendation such as installing requests and pointing to the system python 3, but I continue to get the following error.
execution exception: java.io.IOException: install_ocssw failed with exit code 1.
Check log for more details.
Traceback (most recent call last):
File "/var/folders/4p/87d70zqs1_n_rs3tnyvdycjr0000gn/T/install_ocssw", line 25, in <module>
import manifest as mf
File "/private/var/folders/4p/87d70zqs1_n_rs3tnyvdycjr0000gn/T/manifest.py", line 16, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
% which python3
/Users/andy/opt/anaconda3/bin/python3
% echo $PATH
/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/opt/anaconda3/bin/python3:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
I have tried this both in bash and zsh shells.
Any help is appreciated.
Andy
Tags:
-
- Subject Matter Expert
- Posts: 252
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 1 time
Re: Install OCSSW SeaDAS 8.3 Mac OS
Send me the output from the menu item:
SeaDAS-Toolbox->Software & System Info...
don
SeaDAS-Toolbox->Software & System Info...
don
-
- Posts: 14
- Joined: Mon Jul 17, 2017 8:36 am America/New_York
Re: Install OCSSW SeaDAS 8.3 Mac OS
Thanks, Don. Here is the output. Looks like the SeaDAS .conf file is the problem?
-----------------------------------------------------------
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.3.0
SNAP Engine Version: 9.0.3* (SeaDAS Platform modified)
SNAP Desktop Version: 9.0.3* (SeaDAS Platform modified)
SNAP Engine Build Date: 202212081832
SNAP Desktop Build Date: 202212081837
Installation Directory: /Users/andy/SeaDAS
Data Directory: /Users/andy/.seadas8
Configuration: /Users/andy/SeaDAS/etc/snap.properties
VM Configuration: /Users/andy/SeaDAS/etc/seadas.conf
WARNING!! File '/Users/andy/SeaDAS/etc/seadas.conf' does not exist
VM Configuration: /Users/andy/SeaDAS/etc/snap.conf
WARNING!! File '/Users/andy/SeaDAS/etc/snap.conf' does not exist
VM Configuration (gpt): /Users/andy/SeaDAS/bin/gpt.vmoptions
VM Configuration (pconvert): /Users/andy/SeaDAS/bin/pconvert.vmoptions
Runtime Configuration: /Users/andy/.seadas8/etc/snap.properties
Runtime Configuration (SeaDAS Toolbox): /Users/andy/.seadas8/etc/seadas.properties
JRE: Java(TM) SE Runtime Environment 1.8.0_201-b09
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Memory: 3641 MiB
OCSSWROOT (Java Env): /Users/andy/SeaDAS/ocssw
Python3 Directory: /usr/local/bin/python3
-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.3.0
SeaDAS Toolbox Build Date: 202212081844
Configuration: /Users/andy/.seadas8/etc/seadas.properties
OCSSW Root Directory: /Users/andy/SeaDAS/ocssw
OCSSW Log Directory: /Users/andy
OCSSW Location: local
Environment {$OCSSWROOT} (external): /Users/andy/SeaDAS/ocssw
-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
OCSSWROOT=/Users/andy/SeaDAS/ocssw
OCDATAROOT=/Users/andy/SeaDAS/ocssw/share
l2gen version: msl12 9.6.0-V2022.2 (Nov 28 2022 12:24:20)
l2bin version: 7.0.3
l3bin version: 5.13
l3mapgen version: l3mapgen 2.3.0-V2022.2 (Nov 28 2022 12:25:33)
Installed Missions: ['aqua']
-----------------------------------------------------------
General System and Software:
-----------------------------------------------------------
Operating system: MacOS 11.7.4
Java version: 19.0.2
Python3 version: 3.11.2
Python3 Path: /usr/local/bin/python3
Env:
CC=gcc
CXX=g++
ELEMENTS=/Users/andy/SeaDAS/ocssw/var/seawifs
EOS_LIB_PREFIX=macintel64
FC=gfortran
GCC_TUNE=
HDFEOS_LIB=/Users/andy/SeaDAS/ocssw/opt/EOS/lib/macintel64
HRPT_STATION_IDENTIFICATION_FILE=/Users/andy/SeaDAS/ocssw/share/seawifs/station/station_id.dat
L2GEN_ANC=/Users/andy/SeaDAS/ocssw/var/anc
LIB3_BIN=/Users/andy/SeaDAS/ocssw/opt/bin
LIB3_CHECK=0
LIB3_DIR=/Users/andy/SeaDAS/ocssw/opt
LIB3_INC=/Users/andy/SeaDAS/ocssw/opt/include
LIB3_LIB=/Users/andy/SeaDAS/ocssw/opt/lib
NAVCTL=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
NAVQC=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
OCSSW_ARCH=macosx_intel
OCSSW_BIN=/Users/andy/SeaDAS/ocssw/bin
OCSSW_DEBUG=0
OCTS_REGISTRATION_TABLES=/Users/andy/SeaDAS/ocssw/share/octs/nav
OCVARROOT=/Users/andy/SeaDAS/ocssw/var
ORBCTL=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
PGSINC=/Users/andy/SeaDAS/ocssw/opt/EOS/include
PGSLIB=/Users/andy/SeaDAS/ocssw/opt/EOS/lib/macintel64
PROJ_LIB=/Users/andy/SeaDAS/ocssw/opt/share/proj
SWFTBL=/Users/andy/SeaDAS/ocssw/share/seawifs/qc
SWTBL=/Users/andy/SeaDAS/ocssw/share/seawifs
-----------------------------------------------------------
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.3.0
SNAP Engine Version: 9.0.3* (SeaDAS Platform modified)
SNAP Desktop Version: 9.0.3* (SeaDAS Platform modified)
SNAP Engine Build Date: 202212081832
SNAP Desktop Build Date: 202212081837
Installation Directory: /Users/andy/SeaDAS
Data Directory: /Users/andy/.seadas8
Configuration: /Users/andy/SeaDAS/etc/snap.properties
VM Configuration: /Users/andy/SeaDAS/etc/seadas.conf
WARNING!! File '/Users/andy/SeaDAS/etc/seadas.conf' does not exist
VM Configuration: /Users/andy/SeaDAS/etc/snap.conf
WARNING!! File '/Users/andy/SeaDAS/etc/snap.conf' does not exist
VM Configuration (gpt): /Users/andy/SeaDAS/bin/gpt.vmoptions
VM Configuration (pconvert): /Users/andy/SeaDAS/bin/pconvert.vmoptions
Runtime Configuration: /Users/andy/.seadas8/etc/snap.properties
Runtime Configuration (SeaDAS Toolbox): /Users/andy/.seadas8/etc/seadas.properties
JRE: Java(TM) SE Runtime Environment 1.8.0_201-b09
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Memory: 3641 MiB
OCSSWROOT (Java Env): /Users/andy/SeaDAS/ocssw
Python3 Directory: /usr/local/bin/python3
-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.3.0
SeaDAS Toolbox Build Date: 202212081844
Configuration: /Users/andy/.seadas8/etc/seadas.properties
OCSSW Root Directory: /Users/andy/SeaDAS/ocssw
OCSSW Log Directory: /Users/andy
OCSSW Location: local
Environment {$OCSSWROOT} (external): /Users/andy/SeaDAS/ocssw
-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
OCSSWROOT=/Users/andy/SeaDAS/ocssw
OCDATAROOT=/Users/andy/SeaDAS/ocssw/share
l2gen version: msl12 9.6.0-V2022.2 (Nov 28 2022 12:24:20)
l2bin version: 7.0.3
l3bin version: 5.13
l3mapgen version: l3mapgen 2.3.0-V2022.2 (Nov 28 2022 12:25:33)
Installed Missions: ['aqua']
-----------------------------------------------------------
General System and Software:
-----------------------------------------------------------
Operating system: MacOS 11.7.4
Java version: 19.0.2
Python3 version: 3.11.2
Python3 Path: /usr/local/bin/python3
Env:
CC=gcc
CXX=g++
ELEMENTS=/Users/andy/SeaDAS/ocssw/var/seawifs
EOS_LIB_PREFIX=macintel64
FC=gfortran
GCC_TUNE=
HDFEOS_LIB=/Users/andy/SeaDAS/ocssw/opt/EOS/lib/macintel64
HRPT_STATION_IDENTIFICATION_FILE=/Users/andy/SeaDAS/ocssw/share/seawifs/station/station_id.dat
L2GEN_ANC=/Users/andy/SeaDAS/ocssw/var/anc
LIB3_BIN=/Users/andy/SeaDAS/ocssw/opt/bin
LIB3_CHECK=0
LIB3_DIR=/Users/andy/SeaDAS/ocssw/opt
LIB3_INC=/Users/andy/SeaDAS/ocssw/opt/include
LIB3_LIB=/Users/andy/SeaDAS/ocssw/opt/lib
NAVCTL=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
NAVQC=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
OCSSW_ARCH=macosx_intel
OCSSW_BIN=/Users/andy/SeaDAS/ocssw/bin
OCSSW_DEBUG=0
OCTS_REGISTRATION_TABLES=/Users/andy/SeaDAS/ocssw/share/octs/nav
OCVARROOT=/Users/andy/SeaDAS/ocssw/var
ORBCTL=/Users/andy/SeaDAS/ocssw/share/seawifs/nav
PGSINC=/Users/andy/SeaDAS/ocssw/opt/EOS/include
PGSLIB=/Users/andy/SeaDAS/ocssw/opt/EOS/lib/macintel64
PROJ_LIB=/Users/andy/SeaDAS/ocssw/opt/share/proj
SWFTBL=/Users/andy/SeaDAS/ocssw/share/seawifs/qc
SWTBL=/Users/andy/SeaDAS/ocssw/share/seawifs
-
- Subject Matter Expert
- Posts: 509
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 1 time
Re: Install OCSSW SeaDAS 8.3 Mac OS
SeaDAS-Toolbox->Software & System Info... says
"Python3 Path: /usr/local/bin/python3"
You probably opened SeaDAS from a shell that has the path set to /usr/local/bin/python3.
Try
"Python3 Path: /usr/local/bin/python3"
You probably opened SeaDAS from a shell that has the path set to /usr/local/bin/python3.
Try
Code: Select all
/usr/bin/pip3 install requests
-
- Posts: 14
- Joined: Mon Jul 17, 2017 8:36 am America/New_York
Re: Install OCSSW SeaDAS 8.3 Mac OS
Hi xuanyang,
I still get the same error when trying to install the processors. I was able to install requests given your commands in the previous post. I have tried adjust the python3 path in the .bashrc file a couple different ways after installing requests but each iteration leads to the same error.
.bashrc
#export PATH="/Users/andy/opt/anaconda3/bin/python3:$PATH"
export OCSSWROOT="/Users/andy/SeaDAS/ocssw"
source $OCSSWROOT/OCSSW_bash.env
#export PATH="/Users/andy/Library/Python/3.8/bin:$PATH"
export PATH="/usr/local/bin/python3:$PATH"
andy$ which python
/Users/andy/opt/anaconda3/bin/python
andy$ which python3
/Users/andy/opt/anaconda3/bin/python3
andy$ echo $PATH
/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Thanks again for your help.
Andy
I still get the same error when trying to install the processors. I was able to install requests given your commands in the previous post. I have tried adjust the python3 path in the .bashrc file a couple different ways after installing requests but each iteration leads to the same error.
.bashrc
#export PATH="/Users/andy/opt/anaconda3/bin/python3:$PATH"
export OCSSWROOT="/Users/andy/SeaDAS/ocssw"
source $OCSSWROOT/OCSSW_bash.env
#export PATH="/Users/andy/Library/Python/3.8/bin:$PATH"
export PATH="/usr/local/bin/python3:$PATH"
andy$ which python
/Users/andy/opt/anaconda3/bin/python
andy$ which python3
/Users/andy/opt/anaconda3/bin/python3
andy$ echo $PATH
/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Thanks again for your help.
Andy
-
- Subject Matter Expert
- Posts: 509
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 1 time
Re: Install OCSSW SeaDAS 8.3 Mac OS
Your .bashrc has
If you open a new terminal, should return /usr/local/bin/python3.
If you open SeaDAS from the same terminal, SeaDAS-Toolbox->Software & System Info... should return
"Python3 Path: /usr/local/bin/python3".
If you did SeaDAS should no longer complain ModuleNotFoundError: No module named 'requests'.
The fact "/usr/local/bin/python3" is not in your PATH
"/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/opt/anaconda3/bin/python3:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
indicates that your .bashrc is not being used.
It's best that you consult with your system admin to sort out this PATH issue.
Bing
Code: Select all
export PATH="/usr/local/bin/python3:$PATH"
Code: Select all
which python3
If you open SeaDAS from the same terminal, SeaDAS-Toolbox->Software & System Info... should return
"Python3 Path: /usr/local/bin/python3".
If you did
Code: Select all
/usr/bin/pip3 install requests
The fact "/usr/local/bin/python3" is not in your PATH
"/Users/andy/SeaDAS/ocssw/opt/bin:/Users/andy/SeaDAS/ocssw/bin:/Users/andy/opt/anaconda3/bin/python3:/Users/andy/SeaDAS/bin:/Users/andy/opt/anaconda3/bin:/Users/andy/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
indicates that your .bashrc is not being used.
It's best that you consult with your system admin to sort out this PATH issue.
Bing
-
- Posts: 14
- Joined: Mon Jul 17, 2017 8:36 am America/New_York
Re: Install OCSSW SeaDAS 8.3 Mac OS
Thanks, Bing.
I modified all of the paths accordingly but still came up with the error. I reinstalled requests as root, which came up with all sorts of warnings, and now the processors are installing. Hopefully there won't be problems later.
Thanks again for your help. Always very helpful.
Andy
I modified all of the paths accordingly but still came up with the error. I reinstalled requests as root, which came up with all sorts of warnings, and now the processors are installing. Hopefully there won't be problems later.
Thanks again for your help. Always very helpful.
Andy