小编Zex*_*lon的帖子

GDAL Virtualenv Python 3.6安装

我在安装gdal时经历了残酷的时光。我尝试在安装了GDAL的虚拟环境Python 3.6环境中重新安装Ubuntu Mint。在完成所有依赖项要求之后,我现在在运行后得到以下错误pip install gdal

Collecting gdal
  Using cached https://files.pythonhosted.org/packages/99/31/2e05c1be3196126fa04028aed51489f40ceea77e8361a80bc8b00fc463db/GDAL-2.3.1.tar.gz
Building wheels for collected packages: gdal
  Running setup.py bdist_wheel for gdal ... error
  Complete output from command /home/mnewman/pyenvs/py36/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-sxbz7tcv/gdal/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp00t__5p7pip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.6
  copying gdal.py -> build/lib.linux-x86_64-3.6
  copying ogr.py -> build/lib.linux-x86_64-3.6
  copying osr.py -> build/lib.linux-x86_64-3.6
  copying gdalconst.py -> build/lib.linux-x86_64-3.6
  copying gnm.py -> build/lib.linux-x86_64-3.6
  copying gdalnumeric.py -> build/lib.linux-x86_64-3.6
  creating …
Run Code Online (Sandbox Code Playgroud)

pip osgeo gdal python-3.6

4
推荐指数
1
解决办法
1281
查看次数

标签 统计

gdal ×1

osgeo ×1

pip ×1

python-3.6 ×1