Installation instructions
See original GitHub issueHi, this is a part of https://github.com/pyOpenSci/software-review/issues/18.
Naive installation
As a naive user, if I make a new python environment and do pip install movingpandas
, the installation fails on Mac.
Collecting movingpandas
Downloading movingpandas-0.2rc1.tar.gz (20 kB)
Collecting numpy
Downloading numpy-1.18.1-cp38-cp38-macosx_10_9_x86_64.whl (15.2 MB)
|ββββββββββββββββββββββββββββββββ| 15.2 MB 5.2 MB/s
Collecting matplotlib
Downloading matplotlib-3.1.2-cp38-cp38-macosx_10_9_x86_64.whl (13.2 MB)
|ββββββββββββββββββββββββββββββββ| 13.2 MB 4.1 MB/s
Collecting shapely
Using cached Shapely-1.6.4.post2.tar.gz (225 kB)
Collecting pandas
Using cached pandas-0.25.3-cp38-cp38-macosx_10_9_x86_64.whl (10.3 MB)
Collecting geopandas
Using cached geopandas-0.6.2-py2.py3-none-any.whl (919 kB)
Collecting hvplot
Downloading hvplot-0.5.2-py2.py3-none-any.whl (2.5 MB)
|ββββββββββββββββββββββββββββββββ| 2.5 MB 4.5 MB/s
Collecting cartopy
Using cached Cartopy-0.17.0.tar.gz (8.9 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /Users/martin/anaconda3/envs/movingpandas/bin/python /Users/martin/anaconda3/envs/movingpandas/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/d0/qyf0yvzd0n9ctn2wr3r4l1vw0000gn/T/tmpcf10m5i7
cwd: /private/var/folders/d0/qyf0yvzd0n9ctn2wr3r4l1vw0000gn/T/pip-install-9up68k4a/cartopy
Complete output (1 lines):
Proj 4.9.0 must be installed in Conda environment "movingpandas".
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/martin/anaconda3/envs/movingpandas/bin/python /Users/martin/anaconda3/envs/movingpandas/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /var/folders/d0/qyf0yvzd0n9ctn2wr3r4l1vw0000gn/T/tmpcf10m5i7 Check the logs for full command output.
Using conda install -c anitagraser movingpandas
works, but youβll get a mixture of channels (conda-forge and defaults), which is known to cause issues. Moreover, you get geopandas from defaults in older version that is on conda-forge.
It is worth documenting possible issues and workarounds (strict channel priority) as the default installation instructions do not follow GeoPandas recommendations.
Dev installation
Current dev installation instructions expect using Anaconda. Iβd say that most dev people will just make a new environment using conda env create -f environment.yml
, but it has to be derived from the Aanconda instructions. Iβd just add a sentence saying that dev env should use environment.yml and keep Anaconda instructions as one of the options only.
Minor question - conda installs movingpandas 0.1.dev2, while the review issue says Version submitted: 0.2
. Should I assume that 0.2 will be released after the review?
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (8 by maintainers)
Top GitHub Comments
Iβve added all the install details Iβm aware of https://github.com/anitagraser/movingpandas/commit/9440ba13e510a0843ab248e88494afdc0a6054f2
I was not even aware of this Windows issue as macOS/Ubuntu user. We should probably refer to is in geopandas docs as well.
Iβd say putting the content of that comment would be a good way of dealing with it.