Tau*_*ang 5 pip visual-studio scrapy python-3.x
当我pip install scrapy使用python 3.7 运行某些程序(例如)时,遇到了麻烦,
error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'
我发现PlatformSDKVS 14.0中根本没有。
(2018年7月24日更新:我在另一台笔记本电脑上也运行Win 10 OS [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v8.1\\lib'时遇到另一个错误pip install scrapy。我不确定我的情况是否与此问题相似)
然后,我vs_community.exe从这里获得了一个源,Web Developer Tools并Visual Studio Extensibility Tools Update 3成功安装并安装了它,但是仍然没有PlatformSDK。
那么,如何获取此丢失的文件夹及其中的包?
有一次我在安装另一个需要 Windows Visual C++ 的 Python 程序 (QARK) 时遇到问题。事实上,在 cmd / PowerShell 中我被告知缺少所需的版本。\n所以我按照上面
写的内容进行操作,所以我不再遇到这个问题(为了安全起见,我还重新启动了):
\n\n\n\n
\n- 使用以下任一选项进行安装:\n \n
\n\n
- Microsoft Visual Studio 构建工具
\n- Microsoft Build Tools for Visual Studio的替代链接。
\n- 离线安装程序:vs_buildtools.exe
\n- 选择:工作负载\xe2\x86\x92 C++ 构建工具。
\n- 安装选项:仅选择 \xe2\x80\x9cWindows 10 SDK\xe2\x80\x9d(假设计算机是 Windows 10)。或者,如果您想从命令行使用 MSVC cl.exe C/C++ 编译器,请另外选择 C++ 构建工具,这会额外占用 2 GB 磁盘空间。
\n
\n之后我运行它没有任何问题。
\n希望对您有所帮助!
| 归档时间: |
|
| 查看次数: |
3662 次 |
| 最近记录: |