Select to view content in your preferred language

Installing python package movingpandas

4050
7
Jump to solution
01-18-2021 01:32 PM
TimSemmelhaack
Occasional Contributor

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
Occasional Contributor

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
Occasional Contributor

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
Occasional Contributor

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
Occasional Contributor

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