CODEDRAGON ㆍDevelopment/Python
geopandas installing with pip
· 파이썬 버전 확인
· 운영체제 OS bit 버전 확인
· whl파일 다운로드
· whl파일 설치
파이썬 버전 확인
C:\CodeLab>python --version Python 3.6.5
C:\CodeLab> |
운영체제 OS bit 버전 확인
C:\CodeLab>systeminfo | findstr based 시스템 종류: x64-based PC
C:\CodeLab> |
whl파일 다운로드
https://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona
Fiona‑1.8.11‑cp36‑cp36m‑win_amd64.whl
https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely
Shapely‑1.6.4.post2‑cp36‑cp36m‑win_amd64.whl
https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal
GDAL‑3.0.2‑cp36‑cp36m‑win_amd64.whl
geopandas‑0.6.2‑py2.py3‑none‑any.whl
whl파일 설치
C:\CodeLab>dir *.whl C 드라이브의 볼륨에는 이름이 없습니다. 볼륨 일련 번호: 70F2-E4B5
C:\CodeLab 디렉터리
2019-11-25 오전 08:47 486,546 Fiona-1.8.11-cp36-cp36m-win_amd64.whl 2019-11-25 오전 09:12 34,119,907 GDAL-3.0.2-cp36-cp36m-win_amd64.whl 2019-11-25 오전 08:36 919,996 geopandas-0.6.2-py2.py3-none-any.whl 2019-11-25 오전 09:11 635,386 Shapely-1.6.4.post2-cp36-cp36m-win_amd64.whl 4개 파일 36,161,835 바이트 0개 디렉터리 12,584,366,080 바이트 남음
C:\CodeLab> |
pyproj , shapely, GDAL, Fiona, geopandas 순서로 설치해 주어야 Error 가 발생하지 않습니다.
install pyproj
C:\CodeLab>pip install pyproj Collecting pyproj Installing collected packages: pyproj Successfully installed pyproj-2.4.1
C:\CodeLab> |
install Shapely
C:\CodeLab>pip install Shapely-1.6.4.post2-cp36-cp36m-win_amd64.whl Processing c:\codelab\shapely-1.6.4.post2-cp36-cp36m-win_amd64.whl Installing collected packages: Shapely Successfully installed Shapely-1.6.4.post2
C:\CodeLab> |
install GDAL
C:\CodeLab>pip install GDAL-3.0.2-cp36-cp36m-win_amd64.whl Processing c:\codelab\gdal-3.0.2-cp36-cp36m-win_amd64.whl Installing collected packages: GDAL Successfully installed GDAL-3.0.2
C:\CodeLab> |
install Fiona
C:\CodeLab>pip install Fiona-1.8.11-cp36-cp36m-win_amd64.whl Processing c:\codelab\fiona-1.8.11-cp36-cp36m-win_amd64.whl Requirement already satisfied: click-plugins>=1.0 in c:\python\python36\lib\site-packages (from Fiona==1.8.11) (1.1.1) Requirement already satisfied: six>=1.7 in c:\python\python36\lib\site-packages (from Fiona==1.8.11) (1.11.0) Requirement already satisfied: click>=4.0 in c:\python\python36\lib\site-packages (from Fiona==1.8.11) (7.0) Requirement already satisfied: munch in c:\python\python36\lib\site-packages (from Fiona==1.8.11) (2.5.0) Requirement already satisfied: cligj>=0.5 in c:\python\python36\lib\site-packages (from Fiona==1.8.11) (0.5.0) Requirement already satisfied: gdal~=3.0.2 in c:\python\python36\lib\site-packages (from Fiona==1.8.11) (3.0.2) Requirement already satisfied: attrs>=17 in c:\python\python36\lib\site-packages (from Fiona==1.8.11) (19.3.0) Installing collected packages: Fiona Successfully installed Fiona-1.8.11
C:\CodeLab> |
install geopandas
C:\CodeLab>pip install geopandas-0.6.2-py2.py3-none-any.whl Processing c:\codelab\geopandas-0.6.2-py2.py3-none-any.whl Requirement already satisfied: shapely in c:\python\python36\lib\site-packages (from geopandas==0.6.2) (1.6.4.post2) Requirement already satisfied: pyproj in c:\python\python36\lib\site-packages (from geopandas==0.6.2) (2.4.1) Requirement already satisfied: fiona in c:\python\python36\lib\site-packages (from geopandas==0.6.2) (1.8.11) Requirement already satisfied: pandas>=0.23.0 in c:\python\python36\lib\site-packages (from geopandas==0.6.2) (0.23.0) Requirement already satisfied: cligj>=0.5 in c:\python\python36\lib\site-packages (from fiona->geopandas==0.6.2) (0.5.0) Requirement already satisfied: click>=4.0 in c:\python\python36\lib\site-packages (from fiona->geopandas==0.6.2) (7.0) Requirement already satisfied: attrs>=17 in c:\python\python36\lib\site-packages (from fiona->geopandas==0.6.2) (19.3.0) Requirement already satisfied: gdal~=3.0.2 in c:\python\python36\lib\site-packages (from fiona->geopandas==0.6.2) (3.0.2) Requirement already satisfied: six>=1.7 in c:\python\python36\lib\site-packages (from fiona->geopandas==0.6.2) (1.11.0) Requirement already satisfied: munch in c:\python\python36\lib\site-packages (from fiona->geopandas==0.6.2) (2.5.0) Requirement already satisfied: click-plugins>=1.0 in c:\python\python36\lib\site-packages (from fiona->geopandas==0.6.2) (1.1.1) Requirement already satisfied: pytz>=2011k in c:\python\python36\lib\site-packages (from pandas>=0.23.0->geopandas==0.6.2) (2018.4) Requirement already satisfied: numpy>=1.9.0 in c:\python\python36\lib\site-packages (from pandas>=0.23.0->geopandas==0.6.2) (1.14.4) Requirement already satisfied: python-dateutil>=2.5.0 in c:\python\python36\lib\site-packages (from pandas>=0.23.0->geopandas==0.6.2) (2.7.3) Installing collected packages: geopandas Successfully installed geopandas-0.6.2
C:\CodeLab> |
http://geopandas.org/install.html
https://pypi.org/project/geopandas/0.2.1/
https://pypi.org/project/Shapely/
https://pypi.org/project/GDAL/
https://pypi.org/project/pyproj/