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



Purnomo Setyawendha

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

回复

要查看或添加评论,请登录

Purnomo Setyawendha的更多文章

  • Minkowski distance in R vs Python

    Minkowski distance in R vs Python

    Which one you prefer ? in R or python (credit to ChatGPT for creating code example)

  • Why R is my first language

    Why R is my first language

    Hopefully this is not about Python vs R (again) The motivation for this article as I found most of R vs Python…

    2 条评论
  • Don't Repeat Yourself (in Command Line)

    Don't Repeat Yourself (in Command Line)

    hy you should not repeat yourself Andrew Hunt and David Thomas in their Book : The Pragmatic Programmer have introduced…

    1 条评论
  • Why I love stream editor (sed)

    Why I love stream editor (sed)

    We have situation here ..

  • Managing (Technical) Disagreements

    Managing (Technical) Disagreements

    Human is a very complex creature by design, and diversity is imbedded into our DNA combined with background and…

    1 条评论
  • Introduction to Stream Editor (sed)

    Introduction to Stream Editor (sed)

    Following to my previous sed story : I write this article to help you to start with sed and enjoy the speed…

  • Starting with a Boring Stuff

    Starting with a Boring Stuff

    On my starting point in python three years ago, I was too excited, cannot hardly wait to jump into machine learning and…

  • A "sed" Story for Pipeline Integrity Engineer

    A "sed" Story for Pipeline Integrity Engineer

    "sed" story is a story about surviving of an old tools, if we refer to "Jadul" term in Indonesian urban dictionary…

    2 条评论
  • How slow R ....U ?

    How slow R ....U ?

    I have to put disclaimer since R was my first language so I may get biased. It is depend on what you want to do, but as…

    2 条评论
  • Recent changes in R spatial

    Recent changes in R spatial

    I think this is a very important update for all R-Spatial community member : sf, which replaces sp terra, which aims to…

    1 条评论

社区洞察

其他会员也浏览了