windows作为开发机真是让人又爱又恨,总是会遇到各种各样的问题
报错
以安装channels为例:
如: pip install channels 时出现:
error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: http://landinghub.visualstudio.com/visual-cpp-build-tools
解决办法
1. 安装 Microsoft visual c++ 14.0
https://964279924.ctfile.com/fs/1445568-239446865 或 https://pan.baidu.com/s/1q2Nj41Xk85CHHv7_zOhQIA 密码:qbba
2. 如果出现了.Net framework版本过低,小于4.5的最低版本要求:
[如果没出现这个问题,跳过这一步]
重新安装 .Net framework 更高的版本:
https://support.microsoft.com/en-us/help/3151800/the-net-framework-4-6-2-offline-installer-for-windows
再安装Microsoft visual c++ 14.0,
3. 启动电脑,再安装channels
pip install channels
原文地址:https://www.cnblogs.com/huang-yc/p/10053105.html
时间: 2024-10-10 21:07:44