我在尝试在 python 3.7.3 中安装 GDAL 时遇到问题。有没有人有安装这个的经验?另外,这是我第一次在这里问。请帮助或指导我找到任何可以就此提供建议的人吗?提前致谢。
pip install GDAL
Collecting GDAL
Using cached https://files.pythonhosted.org/packages/ae/09/cac5021db34f5c95c6a660b90e5d27062a520fe32a0493f68d07a7055d30/GDAL-3.0.4.tar.gz
Building wheels for collected packages: GDAL
Building wheel for GDAL (setup.py) ... error
ERROR: Complete output from command 'C:\Users\Farhan\Anaconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\Farhan\\AppData\\Local\\Temp\\pip-install-bwqvn3wb\\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 'C:\Users\Farhan\AppData\Local\Temp\pip-wheel-0gdpm9_l' --python-tag cp37:
ERROR: running bdist_wheel
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command "'C:\Users\Farhan\Anaconda3\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\Farhan\\AppData\\Local\\Temp\\pip-install-bwqvn3wb\\GDAL\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, …Run Code Online (Sandbox Code Playgroud)