Python in Windows -- build--''error: Unable to find vcvarsall.bat''
来源:互联网 发布:淘宝预约快递上门取件 编辑:程序博客网 时间:2024/04/28 00:36
1) Install Microsoft Visual C++ Compiler for Python 2.7
link is https://www.microsoft.com/en-gb/download/details.aspx?id=44266
No need to install any other Visual Studio package
2) Visual C++ compiler would get installed at
C:\Users\\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0
3) Change 9.0 to VC
So you would have the following path now -
C:\Users\\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\VC\VC (strange ! but to make it work you have to do it)
4) Add environment variable VS90COMNTOOLS and its value as
C:\Users\\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\VC\VC
This is required(otherwise we’ll get error Unable to find vcvarsall.bat)
compileModule.py uses distutils for compilation and distutils.msvc9compiler file requires the directory structure to be such.
5) In file compileModule.py remove libraries=[‘m’] parameter from Extension (at last line) as explained in one of the posts above as well
- Run python compileModule.py build_ext –inplace
- Python in Windows -- build--''error: Unable to find vcvarsall.bat''
- 关于python setup build编译出现找不到 vcvarsall.bat(error: Unable to find vcvarsall.bat)
- Python error: Unable to find vcvarsall.bat
- Python error: Unable to find vcvarsall.bat
- windows install cython error: "unable to find vcvarsall.bat"
- windows安装Jupyter出错:error: Unable to find vcvarsall.bat
- python安装error: Unable to find vcvarsall.bat
- python 安装包error: Unable to find vcvarsall.bat
- windows下Python扩展问题error: Unable to find vcvarsall.bat
- windows上,python安装非官方包,提示error: Unable to find vcvarsall.bat
- Windows下Python快速解决error: Unable to find vcvarsall.bat
- 彻底解决 error: Unable to find vcvarsall.bat
- error: Unable to find vcvarsall.bat
- 彻底解决 error: Unable to find vcvarsall.bat
- 彻底解决 error: Unable to find vcvarsall.bat
- error: Unable to find vcvarsall.bat
- error: Unable to find vcvarsall.bat
- error: Unable to find vcvarsall.bat 解决方法
- Gradle龟速的一刀切
- 百度地图使用模拟器报错java.lang.IllegalArgumentException: No config chosen
- Android加载大图片OOM解决方法
- 1060: [ZJOI2007]时态同步
- Java迭代器(转)(iterator详解以及和for循环的区别)
- Python in Windows -- build--''error: Unable to find vcvarsall.bat''
- C++中字面值常量和字面值类型
- Unity接入讯飞语音识别___Android版
- 网页番茄钟(Pomodoro timer)
- 【SSMS】springmvc+spring+mybatis+maven项目集成shiro进行用户权限控制
- 设计模式
- ArrayList
- 1509: [NOI2003]逃学的小孩
- unity反馈消息到ios Unity与ios交互