question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to install geopandas in pipenv without condas in Python 3.7

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
chazanovcommented, Aug 14, 2018

Pip is not good, better use your distro’s package manager!

2reactions
milieucommented, May 17, 2021

@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 🤞

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation — GeoPandas 0.12.2+0.gefcb367.dirty ...
To install GeoPandas and all its dependencies, we recommend to use the conda package manager. This can be obtained by installing the Anaconda...
Read more >
how to successfully install pyproj and geopandas?
First and most important: do not try to directly pip install or conda install any of the dependencies – if you do, they...
Read more >
Fastest way to install Geopandas in jupyter notebook on ...
Step 3- Install Geopandas in the environment just created. conda install geopandas. Verify that it is installed by running python in your terminal...
Read more >
Can anyone help me get my geopandas install working?
I don't use conda. I use pipenv on python 3.7.4. Same should work for pip. I used docs to help with installation on...
Read more >
Error installing GeoPandas? - GIS Stack Exchange
The problem is with fiona not with shapely , try to install it separately not as a dependence of geopandas. Download the right...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found