2
Windows 7のPythonにGDALをインストールしますか?
Python用のgdalライブラリのインストールに問題があります。私はWindows 7を使用していて、Python 2.7.9を実行するWinPython 2.7.9.2を持っています。ラスター操作にgdal + Pythonを使用したいと思います。 私がしまし読ん PIPは、Windows上でパッケージをインストールするための好ましい方法であり、そのは、Python 2.7.9を詰めたということ。PATH環境変数を編集して、pipとpythonを含めました。 ;c:\~\WinPython-32bit-2.7.9.2\python-2.7.9\Scripts\;c:\~WinPython-32bit-2.7.9.2\python-2.7.9\ コマンドプロンプトから直接pythonとpipの両方を実行できるようになりました。 入力するとエラーが表示される c:\>pip install gdal それは与える: C:\~\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Include\xlocale(342) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc extensions/gdal_wrap.cpp(2855) : fatal error C1083: Cannot open include file: 'cpl_port.h': No such file or directory …