[转]Resolving Python error: Unable to find vcvarsall.bat
Resolving Python error: Unable to find vcvarsall.bat
While installing python package flask-user using pip I was getting the error Unable to find vcvarsall.bat
Resolution:
Download and install Microsoft Visual C++ Compiler for Python 2.7 from https://www.microsoft.com/en-in/download/details.aspx?id=44266
Go to C:\Python27\Lib\distutils and open the file msvc9compiler.py
Go to the def query_vcvarsall(version, arch="x86"):
Add following line of code below vcvarsall = find_vcvarsall(version)
vcvarsall = "C:\Users\NAME\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0" +"/vcvarsall.bat"
Go to command prompt and run pip install flask-user. This time it works fine
注意:vcvarsall = "C:\Users\NAME\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0" +"/vcvarsall.bat"
最新文章
- ActiveReports 11 新特性速递
- 25款创新的 PSD 格式搜索框设计素材【免费下载】
- [iOS]如何删除工程里面用cocoapods导入的第三方库
- OpenCms Application dev-ref
- oracle中查询含字母的数据[正则表达式]
- 给定范围内产生N个不同的随机数
- Dense Subsequence
- python 虚拟环境--virtualenv
- ASP.NET网络爬虫小研究 HtmlAgilityPack基础,爬取数据保存在数据库中再显示再自己的网页中
- 手摸手教你微信小程序开发之自定义组件
- monit配置文件
- ANY 和 IN 查询价格大于或等于";超级本";价格的商品,并且按价格降序排列
- 18.纯 CSS 创作 404 文字变形为 NON 文字的交互特效
- git 简单的操作命令
- 用sourceTree提交代码时遇到的问题
- Swift3 根据秒数获取视频时长(转换成00:00:00时间格式)以及将时长转换成秒
- C#中自定义属性的例子
- SDWC补题计划
- cxGrid 单元格回车移到下一行,当移到最后一个单元格时回车新增一行【转】
- 【LOJ】#2291. 「THUSC 2016」补退选
热门文章
- Centos7下快速安装Mongo3.2
- bash&;nbsp;shell笔记4&;nbsp;处理用…
- bash&;nbsp;shell笔记2&;nbsp;结构化命令
- smack 监听不同packet机制
- Idea搭建Scala开发环境的注意事项
- Win10系统优化/设置脚本
- 686. Repeated String Match 字符串重复后的子字符串查找
- 【转】request的cache-control和response cache-control不同点
- ubunt 14.04 Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modul
- 修改QPushButton北京颜色和字体背景