Installing python package movingpandas

3409
7
Jump to solution
01-18-2021 01:32 PM
TimSemmelhaack
New Contributor III

I try to install the python packages movingpandas with Arcgis Pro 2.7 It is available in the list "add packages". But I can't install it with the install button or with the conda prompt and "conda install movingpandas". Conda search movingpandas doesn't return any result.

Any ideas?

Tim

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

Good!

You might want to Accept as Solution the thread that answered your question @TimSemmelhaack so that it will float to the top as a solution for those that have similar questions.


... sort of retired...

View solution in original post

0 Kudos
7 Replies
DanPatterson
MVP Esteemed Contributor

Did you try the install instructions from their github site?

anitagraser/movingpandas: Implementation of Trajectory classes and functions built on top of GeoPand...

the conda-forge channel might work, but I would see what this reports

conda install -c conda-forge movingpandas --dry-run

the --dry-run will give you an indication of what might be changed in your clone


... sort of retired...
0 Kudos
TimSemmelhaack
New Contributor III

Thanks

conda install -c conda-forge movingpandas --dry-run throws an error

InvalidSpecError: Invalid spec: =20190808

I will try it with a new clone of my standard environment

 

0 Kudos
TimSemmelhaack
New Contributor III

Even with a fresh copy of my default environment I get the same error. 

conda install -c conda-forge movingpandas --dry-run
Fetching package metadata ...............
Solving package specifications:

InvalidSpecError: Invalid spec: =20190808

 

0 Kudos
TimSemmelhaack
New Contributor III

The cause of error could be the old conda version, which ships with Arcgis Pro https://github.com/conda/conda-build/issues/3915 

0 Kudos
DanPatterson
MVP Esteemed Contributor

It is known that esri isn't using the latest version of conda, nor one that can be updated... just try updating conda.  For a little fun try

conda install -c conda-forge movingpandas --no-pin --dry-run

You could also add conda-forge to the top of the environment.yml file as well, but might see too many things wanting to be updated 


... sort of retired...
TimSemmelhaack
New Contributor III

with the parameter --no-pin and a new environment I could install movingpandas and get it to run. At the moment without errors!

Thanks !

0 Kudos
DanPatterson
MVP Esteemed Contributor

Good!

You might want to Accept as Solution the thread that answered your question @TimSemmelhaack so that it will float to the top as a solution for those that have similar questions.


... sort of retired...
0 Kudos