i'm trying to install geoplot with this:
pip install geoplot
The error is a loop of:
Collecting geoplot
Using cached geoplot-0.5.1-py3-none-any.whl (28 kB)
Requirement already satisfied: pandas in c:\path\venv\lib\site-packages (from geoplot) (1.1.5)
Collecting seaborn
Using cached seaborn-0.11.2-py3-none-any.whl (292 kB)
Collecting mapclassify>=2.1
Using cached mapclassify-2.4.3-py3-none-any.whl (38 kB)
Collecting contextily>=1.0.0
Using cached contextily-1.2.0-py3-none-any.whl (16 kB)
Collecting cartopy
Using cached Cartopy-0.20.2.tar.gz (10.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: 'C:\path\venv\Scripts\python.exe' 'C:\path\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_buil
d_wheel 'C:\path\Local\Temp\tmps3nx9_kb'
cwd: C:\path\Local\Temp\pip-install-sepbc9lc\cartopy_5741c00c657643339130e2ffb68ca1bd
Complete output (5 lines):
setup.py:120: UserWarning: Unable to determine GEOS version. Ensure you have 3.7.2 or later installed, or installation may fail.
'.'.join(str(v) for v in GEOS_MIN_VERSION), ))
setup.py:169: UserWarning: Unable to determine Proj version. Ensure you have 8.0.0 or later installed, or installation may fail.
'.'.join(str(v) for v in PROJ_MIN_VERSION), ))
Proj version 0.0.0 is installed, but cartopy requires at least version 8.0.0.
----------------------------------------
I am on Python 3.7, this is my pip list
Package Version
--------------------- -----------
arrow 1.2.2
attrs 21.4.0
backports.zoneinfo 0.2.1
beautifulsoup4 4.11.1
certifi 2022.5.18.1
charset-normalizer 2.0.12
click 8.1.3
click-plugins 1.1.1
cligj 0.7.2
colorama 0.4.4
docopt 0.6.2
Fiona 1.8.21
GDAL 3.4.2
geopandas 0.10.2
idna 3.3
importlib-metadata 4.11.4
Js2Py 0.71
munch 2.5.0
numpy 1.21.6
packaging 21.3
pandas 1.1.5
pip 21.1.2
pipwin 0.5.2
proj 0.2.0
pyjsparser 2.7.1
pyparsing 3.0.9
PyPrind 2.11.3
pyproj 3.2.1
pySmartDL 1.3.4
python-dateutil 2.8.2
pytz 2022.1
pytz-deprecation-shim 0.1.0.post0
requests 2.27.1
setuptools 57.0.0
Shapely 1.8.2
six 1.16.0
soupsieve 2.3.2.post1
typing-extensions 4.2.0
tzdata 2022.1
tzlocal 4.2
urllib3 1.26.9
wheel 0.36.2
zipp 3.8.0
I had a same trouble with geopandas and i fix it using this solution provided from a stack's user:
# pip install pipwin
# pipwin install gdal
# pipwin install fiona
# pip install geopandas
I'm using a virtual environment.
This doesn't work Can't install geoplot package
Can you help me?