DOI-USGS / knoten

Python Geospatial Sensor Exploitation Library
Other
3 stars 21 forks source link

Installing knoten #87

Closed oleg-alexandrov closed 3 years ago

oleg-alexandrov commented 3 years ago

I followed the instructions at

https://github.com/USGS-Astrogeology/knoten/blob/master/README.md

to install knoten, so I ran the environment.yml file. But this did not install knoten, only its dependencies. I had to do, in addition,

conda install -c usgs-astrogeology -c conda-forge knoten

to install it, which was not mentioned anywhere. Perhaps another line needs to be added to the enviornment file for knoten itself?

jessemapel commented 3 years ago

The environment.yml file should install the dependencies of knoten, not knoten itself. It should have another line to run the pip install via:

python setup.py install or python setup.py develop

Installing the conda version is a separate path that should completely handle everything. You should be able to just run conda install -c usgs-astrogeology -c conda-forge knoten and it will pull in all the dependencies.

oleg-alexandrov commented 3 years ago

Thank you. I hope the doc can clarify what evnironment.yml does and how to do the rest.

oleg-alexandrov commented 3 years ago

This was solved in https://github.com/USGS-Astrogeology/knoten/pull/89.