Hello everybody,
tried to get sen2three running on Ubuntu 18.04 (bionic) and encountered after running installscript with “sudo python setup.py install” in aconda2 env (Python 2.7.16 |Anaconda custom (64-bit)) :
IOError: [Errno 2] No such file or directory: ‘/usr/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/cfg/L3_GIPP.xml’
Why is the installscript looking at a path that does not exist? Any Ideas how to solve this?
Here are the last lines during installation procedure (Also: Is it relevant that it says …“sh: 1: conda: not found”?):
Finished processing dependencies for sen2three==1.1.0
Checking if old Glymur version is installed:
No old Glymur version found.
Now installing Glymur version 0.8.10:
sh: 1: conda: not found
Sen2Three 1.1.0 setup script:
This will finish the configuration of the environment settings.
OK to continue? [y/n]: y
Please input a path for the sen2three home directory:
default is: /home/username/sen2three
Is this OK? [y/n]: y
Traceback (most recent call last):
- File “setup.py”, line 220, in *
- if copyConfiguration() == True:*
- File “setup.py”, line 66, in copyConfiguration*
- copyfile(srcfl3, os.path.join(L3_cfg, cfgfl3))*
- File “/usr/lib/python2.7/shutil.py”, line 96, in copyfile*
- with open(src, ‘rb’) as fsrc:*
IOError: [Errno 2] No such file or directory: ‘/usr/lib/python2.7/site-packages/sen2three-1.1.0-py2.7.egg/sen2three/cfg/L3_GIPP.xml’
Thanx for helping
Marco