Geopandas Update for Python 3.8.5
I just recently update my python to 3.8.5 and when I removed all my previous python then my struggle installing pandas part 2 begin. I am working on windows 10 machine and for some reason I don't use conda.
Following step hopefully can safe your time :
Make sure your pip updated with pip
python -m pip install --upgrade pip
As I previously done, download all necessary wheel file from https://www.lfd.uci.edu/~gohlke/pythonlibs/
Fiona-1.8.13-cp38-cp38-win_amd64.whl GDAL-3.1.2-cp38-cp38-win_amd64.whl geopandas-0.8.1-py3-none-any.whl pyproj-2.6.1.post1-cp38-cp38-win_amd64.whl Shapely-1.7.1-cp38-cp38-win_amd64.whl
and you can pip each wheel file by :
pip install packagefile.whl
pandas, numpy , and matplotlib can be install in "normal" was as they will not creating any dependencies issues
The summary of my system as follow :
SYSTEM INFO ----------- python : 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] executable : c:\python38\python.exe machine : Windows-10-10.0.19041-SP0 GEOS, GDAL, PROJ INFO --------------------- GEOS : None GEOS lib : None GDAL : 3.1.2 GDAL data dir: None PROJ : 7.0.1 PROJ data dir: c:\python38\lib\site-packages\pyproj\proj_dir\share\proj PYTHON DEPENDENCIES ------------------- geopandas : 0.8.1 pandas : 1.1.1 fiona : 1.8.13 numpy : 1.19.1 shapely : 1.7.1 rtree : None pyproj : 2.6.1.post1 matplotlib : 3.3.1 mapclassify: None geopy : None psycopg2 : None geoalchemy2: None pyarrow : None pyproj info: pyproj: 2.6.1.post1 PROJ: 7.0.1 data dir: c:\python38\lib\site-packages\pyproj\proj_dir\share\proj Python deps: pip: 20.2.2 setuptools: 47.1.0 Cython: None
Pipeline Integrity Engineer
3 年Note to myself: I just update my system (again) and need to re-install Geopandas (again) and I found that these packages need to be installed from wheel in sequence : GDAL then Fiona then geopandas, the rests seem to be independent and as record for packages dependencies my final configuration as follow : SYSTEM INFO ----------- python : 3.9.4 (tags/v3.9.4:1f2e308, Apr 6 2021, 13:40:21) [MSC v.1928 64 bit (AMD64)] executable : c:\users\setya\appdata\local\programs\python\python39\python.exe machine : Windows-10-10.0.19041-SP0 GEOS, GDAL, PROJ INFO --------------------- GEOS : None GEOS lib : None GDAL : 3.2.2 GDAL data dir: None PROJ : 7.2.1 PROJ data dir: c:\users\setya\appdata\local\programs\python\python39\lib\site-packages\pyproj\proj_dir\share\proj PYTHON DEPENDENCIES ------------------- geopandas : 0.9.0 pandas : 1.2.4 fiona : 1.8.19 numpy : 1.20.2 shapely : 1.7.1 rtree : 0.9.7 pyproj : 3.0.1 matplotlib : 3.4.1 mapclassify: None geopy : None psycopg2 : None geoalchemy2: None pyarrow : None pygeos : None