简体   繁体   English

运行“pip install python-binance”时如何修复错误?

[英]How to fix errors when running 'pip install python-binance'?

I ran the following command in cmd pip install python-binance and I got two Errors我在 cmd pip install python-binance运行了以下命令,但出现了两个错误

ERROR: Command errored out with exit status 1: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'

ERROR: Command errored out with exit status 1: Check the logs for full command output.

I have absolutely NO IDEA how to fix this, I didn't find any solutions online, I'm new to programing so I really hope someone finds this and helps me, because otherwise, I'm stuck... Thanks in advace.我完全不知道如何解决这个问题,我没有在网上找到任何解决方案,我是编程新手,所以我真的希望有人能找到这个并帮助我,否则,我被卡住了...预先感谢。

The error is that the installer is unable to find a Visual Studio 14 installation, which has required Visual C++ build tools.错误是安装程序无法找到需要 Visual C++ 构建工具的 Visual Studio 14 安装。 When working with a new package, you should read the documentation about installation and requirements.使用新包时,您应该阅读有关安装和要求的文档。 It will help you resolve these kinds of issues.它将帮助您解决此类问题。

From the docs: https://python-binance.readthedocs.io/en/latest/overview.html#installation来自文档: https : //python-binance.readthedocs.io/en/latest/overview.html#installation

Windows视窗

If you see errors building Twisted indication Microsoft Visual C++ is required you may need to install the Visual C++ Build Tools refer to the Python Wiki on Widows Compilers for your relevant version.如果您看到构建 Twisted 指示需要 Microsoft Visual C++ 的错误,您可能需要安装 Visual C++ 构建工具,请参阅相关版本的 Widows 编译器上的 Python Wiki。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM