ocean-transport / lcs-ml

Lagrangian Coherent Structure identification for machine learning
1 stars 0 forks source link

installing pyqg #11

Closed hscannell closed 3 years ago

hscannell commented 3 years ago

I had several failures installing pyqg, which still relies on Python 2.7. The problem seems to occur when using pip.

Pip subprocess error:
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. 
Please upgrade your Python as Python 2.7 won't be maintained after that date. 
A future version of pip will drop support for Python 2.7.
rabernat commented 3 years ago

Thanks for reporting. That's a bit puzzling because pyqg is actively tested on python up to 3.8: https://github.com/pyqg/pyqg/blob/master/ci/environment-py38.yml

Would you mind opening a more detailed error report over at https://github.com/pyqg/pyqg/issues

It will still probably be me replying to you, but that's the right place to have the discussion.

hscannell commented 3 years ago

Thank you Ryan. I've opened a new issue over there now.

hscannell commented 3 years ago

My problem initially occurred when installing pyqg with pip on Pangeo. A workaround was to clone the repo locally and run pip install -e .

Ideally, we would like to be able to conda install pyqg. This issue is being worked on here to add a conda-forge recipe.

hscannell commented 3 years ago

pyqg can now be installed using conda! See the updated docs.

conda install -c conda-forge pyqg