Python安装scrapy报ImportError: DLL load failed: %1问题怎么解决,scrapyimporterror,import lxmli
Python安装scrapy报ImportError: DLL load failed: %1问题怎么解决,scrapyimporterror,import lxmli
import lxmlimport twistedimport zope.interface
都是OK的。
当import OpenSSL时出现
错误提示:
Traceback (most recent call last):
File "<pyshell#4>", line 1, in
import OpenSSL
File "D:\python install\lib\site-packages\OpenSSL__init__.py", line 13, in
from OpenSSL import crypto
ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。
我安装的是pyOpenSSL-0.13.1.win-amd64-py2.7.exe
具体安装方法参照SF用户wh1100717提供的方法http://poly.emptystack.net/python/scrapy/installation/
缺少 openssl 相关的 dll,或者你跟前几天QQ群里的一位一样,版本不匹配。如果你安装的是32位 Python,请不要使用64位库。文件名里没有 amd64 的安装包就是32位的。
编橙之家文章,
相关内容
- Python字符串替换三个问题,python字符串替换,今天上网看
- 想给processing-py.sh传递参数怎么做,,./processing
- 为什么Python pycharm不能自动补全代码呢,pythonpycharm,Py
- Python __getitem__语句执行及转存方法求助,python__getitem
- Python怎么实现跳板机连接线内部网络Mysql服务器的原理
- 请问树莓派一定需要安装Python-dev包蚂,树莓python-dev,我
- 请问python中opeio.open\codecs.open三者之间作用分别是什么,
- 怎么判断某个开源python项目是否适合自己,判断开源
- pandas内存错误MemoryError如何解决,pandasmemoryerror, File "
- Python爬虫返回unicode字符串如何得到汉字呢,pythonunico
评论关闭