How to install geopandas in pipenv without condas in Python 3.7
See original GitHub issueI was previously running into clang issues when I ran a straight pipenv install geopandas. After forays into using condas, then realizing I didn’t strictly need condas to install dependencies and that conda and pipenv don’t play well together for this particular project despite being able to point pipenv to the condas libraries (Compiled C wasn’t able to handle changed pathing once in a pipenv shell?)…
I ended up removing my condas environment, and doing this in my pipenv:
pipenv install numpy
pipenv install pandas
pipenv install shapely
pipenv install fiona
pipenv install six
pipenv install cython
pipenv install git+https://github.com/jswhit/pyproj.git#egg=pyproj
pipenv install geopandas
PyProj needed to be installed from the git repository because their PyPI is outdated: https://github.com/jswhit/pyproj/issues/136
Verified that is works by doing a pipenv --rm and pipenv install from scratch and importing geopandas successfully in a python repl after pipenv shell
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:9 (1 by maintainers)

Top Related StackOverflow Question
Pip is not good, better use your distro’s package manager!
@martimpassos if I were developing on a Windows machine I’d try using WSL - I’ve had someone in my workplace say they had a good experience with it. https://docs.microsoft.com/en-us/windows/wsl/install-win10 – and then once I had a WSL setup ready using linux dependencies as usual 🤞