刚开始安装 ,我是使用命令pip install lxml直接进行安装,不过出错了 error: Unable to find vcvarsall.bat 解决方案: 1.首先安装wheel,pip install wheel 2.在这里下载对应的.whl文件, http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml 3.进入.whl所在的文件夹,执行命令即可完成安装:pip install 带后缀的完整文件名 我下载的是:lxml-4.2.1-cp34-…
1)首先,下载一个Microsoft Visual C++ Compiler for Python 2.7的补丁,下载地址在这里: http://www.microsoft.com/en-us/download/details.aspx?id=44266 2) 然后下载安装VS2008(对应VER9.0),如果电脑上安装的是VS2010(对应VER10.0), 可以在VS命令行下执行:SET VS90COMNTOOLS=%VS100COMNTOOLS% 如果你安装的是 2012 版(对应VER1…
1..erlang.cookie文件不一致 如果是Windows 64位系统两个文件都要修改,另外当C:\Users\用户\.erlang.cookie没有修改权限的时候 用上面这个文件覆盖下面两个目录的文件: C:\Windows\SysWOW64\config\systemprofile C:\Windows\System32\config\systemprofile 2.erlang版本和rabbitmq版本不匹配 版本匹配: http://www.rabbitmq.com/which-e…
在计算机领域中,想要程序完成各种功能,那么数据的交流和计算是非常重要的.现在已知的程序动作机制有协程,线程和进程. 在同一个程序中,或者说同一个进程中,数据的交流,传递,计算是非常的简单,只要把相关数据保存到变量,或者队列中就可邓. 而对于不同的进程,由于内存空间资源的隔离,所以进程间的数据交互将变得不那么容易.当然,个中原由也是为了安全的角度出发而考虑的. 但现实的操作过程中,进程间难免会出现需要交流数据的需求,那么要怎么做呢? RabbitMQ消息队列,作为一种中间件,可以提供给不同进程间数…
今晚要写搜索引擎作业,搭scrapy环境,遇到了下面问题: windows下安装pywin32报错:close failed in file object destructor:sys.excepthook is missing lost sys.stderr 解决方法: 1.右键管理员身份运行cmd命令提示符: 2. 切换到C:\Python27\Scripts文件夹下,命令为:cd C:\Python27\Scripts 3. 运行python pywin32_postinstall.py…
Windows下使用ssh-add报错 Error connecting to agent: No such file or directory 环境信息 操作系统:windows 10 终端:Windows PowerShell 问题 使用ssh-add时报错 PS D:\code> ssh-add -l Error connecting to agent: No such file or directory 处理步骤 检查ssh-agent服务是否启动成功 PS D:\code> get-…
安装visual stdio 2017后依然报错:Unable to find vcvarsall.bat 解决办法:更新setuptools 原文章:https://blog.csdn.net/wl0909/article/details/79098154…
Ubuntu14.04在virtualenv下安装scrapy报错,Failed building wheel for cffi,lxml,cryptography 等. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 sudo apt-get build-dep python-lxml sudo pip install lxml --upgrade sudo apt-get install build-essent…
Windows下安装完tensorflow后,在cmd下运行python后import tensorflow出现如下错误: Traceback (most recent call last):  File “D:\Python\Python35\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py”, line 18, in swig_import_helper  return importlib.import_mod…
最近在安装mysql -python 时报错折腾了半天,通过以下方法解决: 1. pip install mysql-python报错 Unable to find vcvarsall.bat (参考网上链接http://blog.csdn.net/secretx/article/details/17472107) 解决方法:我的vs版本是2013所以设置环境变量: VS90COMNTOOLS=%VS120COMNTOOLS% 设置好后错误Unable to find vcvarsall.bat…