It did help get past the original error, now you have a new error. Editing the system startup files doesn't take effect immediately -- you may need to log out and back in. Some editors can't be trusted to stick to ASCII characters, so it is also possible that the text looks different to bash than it does on-screen.
This indicates that the settings from "OCSSW_bash.env" are being used, so
progress has been made.
Lets hope someone recognizes
If not, there are troubleshooting steps you can take, but there is no point duplicating work others have done. It could be useful to post details of your Python3 version ("python3 --version"). Have you added updates to Ubuntu 16.04?
I fired up a VM with Ubuntu 16.04, saw the same error using the default
python3.5, then installed Python3.9 from the deadsnakes PPA and still get:
Code: Select all
Installing lut - modisa Traceback (most recent call last): File "/home/seadas/ocssw/bin/update_luts", line 63, in <module> luts.get_luts() File "/home/seadas/ocssw/bin/seadasutils/LutUtils.py", line 132, in get_luts check_times=True) File "/home/seadas/ocssw/bin/seadasutils/JsonUtils.py", line 198, in download_allfiles all_links = self.get_links(url, regex=regex) File "/home/seadas/ocssw/bin/seadasutils/JsonUtils.py", line 165, in get_links with session.get(url, stream=True, timeout=self.timeout) as response: AttributeError: __exit__ Error: return = 1 : trying to run command = /home/seadas/ocssw/bin/ocssw_runner --ocsswroot /home/seadas/ocssw update_luts modisa