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

[pyopensci-review] Pip installation issue #58

Closed
xmnlab opened this issue Feb 4, 2020 · 8 comments
Closed

[pyopensci-review] Pip installation issue #58

xmnlab opened this issue Feb 4, 2020 · 8 comments

Comments

@xmnlab
Copy link

xmnlab commented Feb 4, 2020

Currently the pip installation is raising the follow error:

21:09 $ pip install movingpandas
ERROR: Could not find a version that satisfies the requirement movingpandas (from versions: none)
ERROR: No matching distribution found for movingpandas
@anitagraser
Copy link
Collaborator

I'm leaning towards removing pip install instructions.

The error above appears if pip install movingpandas is called in a Python <= 3.6 environment. So this issue is related to #57

Pip install on Ubuntu with Python 3.7 fails on cartopy with Proj 4.9.0 must be installed in Conda environment "movingpandas-dev".. This seems to be a known issue and conda install is recommended instead of pip: https://stackoverflow.com/questions/53697814/using-pip-install-to-install-cartopy-but-missing-proj-version-at-least-4-9-0

@wendellwt
Copy link

I was able to install the movingpandas package from PyPI (on Linux, and not using conda or anaconda). Some packages needed custom installations. The instructions that I used are here: https://devel.ilikecarrots.com/howto-movingpandas.html

@anitagraser
Copy link
Collaborator

Thank you for the insights @wendellwt! The dependency situation seems very dynamic, particularly with respect to proj versions right now. This makes it hard to keep up.

@wendellwt
Copy link

I spoke too soon. Proj-5 compiles and links, but doesn't run ("no such column: publication_date"). It looks like projpy needs Proj-6 or later. Revised instructions are at: https://cherry.ilikecarrots.com/howto-movingpandas.html

(A while back I tried Anaconda, but it seemed like it took over my entire machine. Also, I don't have admin privs on several of the machines I use. That's why I often have to compile everything from sources and install to a user-writable directory.)

@wendellwt
Copy link

I spoke too soon ^2. GeoPandas 0.7 is incompatible with MovingPandas. GeoPandas 0.6 must be used.

@anitagraser
Copy link
Collaborator

MovingPandas master should already support GeoPandas 0.7. (Changes include #50.) I'm working on a new release.

@wendellwt
Copy link

Yes. The current git repo works fine with GeoPandas 0.7. Sorry about that.

@anitagraser
Copy link
Collaborator

v0.3rc1 has landed on conda-forge https://anaconda.org/conda-forge/movingpandas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants