暴力解决unable to find vcvarsall.bat的方法(记录帖)
来源:互联网 发布:图像算法工程师 编辑:程序博客网 时间:2024/06/05 03:12
1、安装VC for python
2、更改C:\Python27\Lib\distutils下的msvc9compiler.py文件
将文件中的find_vcvarsall函数重写
def find_vcvarsall(version): productdir='C:\Users\\nick\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\\vcvarsall.bat' vcvarsall = os.path.join(productdir) if os.path.isfile(vcvarsall): return vcvarsall else: return None
其他:发现pip install失败,很多情况下升级pip就可以解决,所以可以先升级pip然后再看是否报错
升级方法:python -m pip install -U pip
阅读全文
1 0
- 暴力解决unable to find vcvarsall.bat的方法(记录帖)
- 解决“Unable to find vcvarsall.bat”错误
- 解决“Unable to find vcvarsall.bat”错误
- 解决“Unable to find vcvarsall.bat”错误
- 解决 error: Unable to find vcvarsall.bat
- 解决“Unable to find vcvarsall.bat”错误
- 解决python:Unable to find vcvarsall.bat
- python扩展问题”unable to find vcvarsall.bat“的解决
- Python扩展问题”unable to find vcvarsall.bat“的解决
- 【python系列】“Unable to find vcvarsall.bat”错误的解决
- 解决Unable to find vcvarsall.bat的办法
- Unable to find vcvarsall.bat问题的解决
- Numpy安装失败(unable to find vcvarsall.bat)解决
- unable to find vcvarsall.bat的解决办法
- unable to find vcvarsall.bat的解决方法
- windows下安装python的C扩展编译环境(解决“Unable to find vcvarsall.bat”)
- Unable to find vcvarsall.bat
- Unable to find vcvarsall.bat
- 51nod 1100 斜率最大
- 深度学习进阶视频3
- 【spring-boot】spring aop 面向切面编程初接触
- RecyclerView 万能适配器的抽取
- 对抗网络之目标检测应用:A-Fast-RCNN
- 暴力解决unable to find vcvarsall.bat的方法(记录帖)
- IntelliJ IDEA创建第一个Spring Boot项目
- pots 倒水问题(bfs)
- 14.复制无向图问题
- _itoa atoi、atof、itoa、itow _itoa_s 类型转换使用说明
- memcached+magent+keepalived高可用集群二
- HDU 6069 Counting Divisors 2017 多校
- C_线性表(ADT)-双向循环链表的表示和实现
- MySql简单操作总结