Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post-install of snap toolbox #8

Open
nilshempelmann opened this issue Dec 2, 2018 · 6 comments
Open

post-install of snap toolbox #8

nilshempelmann opened this issue Dec 2, 2018 · 6 comments
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@nilshempelmann
Copy link
Member

the kingfisher/requirements/snap_install.sh still contains hard coded pathes. ( related to #6 )

python can not be configured in the right way (may be not compatible with python3.6??)

Python configuration error: Python configuration failed.
Command [/home/nils/.conda/envs/kingfisher/bin/python ./snappyutil.py --snap_home /home/nils/birdhouse/kingfisher/parts/snap --java_module /home/nils/birdhouse/kingfisher/parts/snap/snap/modules/org-esa-snap-snap-python.jar --force --log_file ./snappyutil.log --jvm_max_mem 10G --java_home /home/nils/birdhouse/kingfisher/parts/snap/jre --req_arch amd64]
failed with return code 10.
@nilshempelmann
Copy link
Member Author

SNAP is suppored only with python 2.7 3.3 or 3.4 !
Needs to be pinned in the environment.yml

@nilshempelmann nilshempelmann added bug Something isn't working help wanted Extra attention is needed labels Dec 2, 2018
@nilshempelmann
Copy link
Member Author

welcome back to the hell of dependencies:

UnsatisfiableError: The following specifications were found to be in conflict:

  • python=3.4
  • pywps=4.1 -> python[version='>=3.6,<3.7.0a0'] -> openssl[version='>=1.1.1a,<1.1.2a']
  • pywps=4.1 -> python[version='>=3.6,<3.7.0a0'] -> tk[version='>=8.6.8,<8.7.0a0']
    Use "conda info " to see the dependencies for each package.

@nilshempelmann nilshempelmann added this to the 0.2.0 milestone Dec 2, 2018
@cehbrecht
Copy link
Member

this is not a problem of pywps. You can add the constrain python<=3.4 to the conda environment.yml. You should also update the Python versions tested on travis: 2.7, 3.4.

But hopefully snap is going to support a recent python 3.x version.

@nilshempelmann
Copy link
Member Author

we are running snappy with the current last release: The current version is 6.0.0 (15.01.2018 15:25 UTC).
http://step.esa.int/main/download/

@cehbrecht
Copy link
Member

Well, for some reason pywps is build for a specific python version. Not sure if I can change this. Python 3.4 is also quite old and I don't know if I can manage to build pywps against it (due to dependencies). So, we need to stick with python 2.7 for now ... but better prepare code for 3.x (use six).

That reminds me to enable 3.6 check on travis ... this should work as long snappy is not called.

@nilshempelmann
Copy link
Member Author

nilshempelmann commented Dec 22, 2018

priority to focus on sentinelhub-py
#13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants