在Gitbash中安装python时遇到困难
这就是我在git bash中所做的。
pip install gdal
结果是:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
Encountered error while trying to install package.
gdal
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
我真的不知道该怎么办。我什至尝试安装“ Microsoft C ++构建工具”,但我已经安装了,因此我下载了C+软件包。
This is what I did in git bash.
pip install gdal
and the result is:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
Encountered error while trying to install package.
gdal
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I really don't know what to do. I even tried to install " Microsoft C++ Build Tools " but I already installed so I downloaded C+ packages.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论