Scrapy安装出错:error: Unable to find vcvarsall.bat的解决方法
来源:互联网 发布:js 返回首页清除历史 编辑:程序博客网 时间:2024/06/05 03:52
安装Scrapy过程中出错:error: Unable to find vcvarsall.bat
Python版本2.7.11
系统为win7 32位系统
使用
pip install scrapy
然后报错
\test copying twisted\mail\test\server.pem -> build\lib.win32-2.7\twisted\mail\test copying twisted\manhole\ui\gtk2manhole.glade -> build\lib.win32-2.7\twisted\manhole\ui copying twisted\spread\ui\login2.glade -> build\lib.win32-2.7\twisted\spread\ui copying twisted\words\im\instancemessenger.glade -> build\lib.win32-2.7\twisted\words\im copying twisted\words\xish\xpathparser.g -> build\lib.win32-2.7\twisted\words\xish running build_ext error: Unable to find vcvarsall.bat ----------------------------------------Command "d:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\admini~1\\appdata\\local\\temp\\pip-build-lo9klh\\twisted\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\admini~1\appdata\local\temp\pip-ket9au-record\install-record.txt --single-version-externally-managed --compile"failed with error code 1 in c:\users\admini~1\appdata\local\temp\pip-build-lo9klh\twisted\
然后就开始各种搜索
结果出来的也是五花八门
有的说需要下载https://www.microsoft.com/en-us/download/details.aspx?id=44266
我安装后依旧提示错误
之后参考http://www.crifan.com/while_install_scrapy_error_unable_to_find_vcvarsall_bat/这篇文章解决
下载安装twisted
twisted的下载地址:
http://tmrc.mit.edu/mirror/twisted/Twisted/10.2/Twisted-10.2.0.winxp32-py2.7.msi
然后安装再次执行pip install scrapy
显示成功
然后创建一个项目
scrapy startproject demo
0 0
- Scrapy安装出错:error: Unable to find vcvarsall.bat的解决方法
- 【已解决】Scrapy安装出错:error: Unable to find vcvarsall.bat的解决方法
- windows安装Jupyter出错:error: Unable to find vcvarsall.bat
- error: Unable to find vcvarsall.bat 解决方法
- unable to find vcvarsall.bat的解决方法
- pip install scrapy报错:error: Unable to find vcvarsall.bat解决方法
- 爬虫 Python安装Scrapy库报错:Unable to find vcvarsall.bat
- python3 安装 scrapy Unable to find vcvarsall.bat
- win7Python3.5安装Scrapy出现error: Unable to find vcvarsall.bat
- 解决安装Scrapy时报错error: Unable to find vcvarsall.bat
- Python3.4安装scrapy库的时候出现Error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat)
- python hmmlearn 安装出错 Unable to find vcvarsall.bat
- python setup.py安装出错: error: Unable to find vcvarsall.bat
- python安装error: Unable to find vcvarsall.bat
- 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
- Java中的多态和动态绑定
- HBuilder 连接 夜神安卓模拟器
- Hadoop 之 InputFormat
- 在linux下新增一块硬盘的操作过程
- iphone 进入安全模式 怎么解决?exit safe mode解决方法
- Scrapy安装出错:error: Unable to find vcvarsall.bat的解决方法
- 【hdu3635】Dragon Balls —— 并查集
- UITableView优化技巧
- imageloder缓存图片
- 28. Implement strStr()
- 程序设计实习2016推荐练习3 硬币(dp+数学/位运算压位)
- 快乐数
- 打造最舒适的webview调试环境
- maven工程开发部署的相关操作