python scrapy库安装过程提示错误 Running setup.py install for Twisted ... error
2017-10-10 11:02
761 查看
安装scrapy库时,使用pip install scrapy也会同时安装其他依赖库,当安装Twisted依赖库时,可能会产生安装错误,
Running setup.py install for Twisted ... error
Exception:
Traceback (most recent call last):
File "d:\python\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
手动下载Twisted包并会用pip命令安装:
下载地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted
选择对应版本安装:
Twisted,
an event-driven networking engine.
Twisted‑17.9.0‑cp27‑cp27m‑win32.whl
Twisted‑17.9.0‑cp27‑cp27m‑win_amd64.whl
Twisted‑17.9.0‑cp34‑cp34m‑win32.whl
Twisted‑17.9.0‑cp34‑cp34m‑win_amd64.whl
Twisted‑17.9.0‑cp35‑cp35m‑win32.whl
Twisted‑17.9.0‑cp35‑cp35m‑win_amd64.whl
Twisted‑17.9.0‑cp36‑cp36m‑win32.whl
Twisted‑17.9.0‑cp36‑cp36m‑win_amd64.whl
下载到E:\Python\Scripts目录,在命令行下输入 pip install E:\Python\Scripts\Twisted-17.9.0-cp36-cp36m-win_amd64
即可成功安装Twisted库,之后Scrapy也会被成功安装
在命令行中输入scrapy -h,显示版本后即为安装成功
Running setup.py install for Twisted ... error
Exception:
Traceback (most recent call last):
File "d:\python\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
手动下载Twisted包并会用pip命令安装:
下载地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted
选择对应版本安装:
Twisted,
an event-driven networking engine.
Twisted‑17.9.0‑cp27‑cp27m‑win32.whl
Twisted‑17.9.0‑cp27‑cp27m‑win_amd64.whl
Twisted‑17.9.0‑cp34‑cp34m‑win32.whl
Twisted‑17.9.0‑cp34‑cp34m‑win_amd64.whl
Twisted‑17.9.0‑cp35‑cp35m‑win32.whl
Twisted‑17.9.0‑cp35‑cp35m‑win_amd64.whl
Twisted‑17.9.0‑cp36‑cp36m‑win32.whl
Twisted‑17.9.0‑cp36‑cp36m‑win_amd64.whl
下载到E:\Python\Scripts目录,在命令行下输入 pip install E:\Python\Scripts\Twisted-17.9.0-cp36-cp36m-win_amd64
即可成功安装Twisted库,之后Scrapy也会被成功安装
在命令行中输入scrapy -h,显示版本后即为安装成功
相关文章推荐
- [已解决]python scrapy库安装过程提示错误 Running setup.py install for Twisted ... error
- FastDFS安装配置过程中出现错误提示"/home/yuqing/fastdfs" can't be accessed, error info: No such file or directory
- Linux系统下 安装nginx时出现提示的错误:configure: error: You need a C++ compiler for C++ support.
- 安装Python 库软件时提示"setuptools must be installed to install from a source distribution"错误
- 安装SQL Server 200 ,出现错误提示:command line option syntax error,type command/? for help
- Android安装软件时出现的错误提示:INSTALL_FAILED_CONTAINER_ERROR的解决方法
- command line option syntax error,type command/? for help安装数据库的时候提示错误,然后跳过
- Linux系统下 安装nginx时出现提示的错误:configure: error: You need a C++ compiler for C++ support.
- 曾经安装过MySQL数据库,已卸载,但仍无法重新安装MySQL,提示错误"Cannot create windows service for mysql.error:0"
- python3.x安装模块的setup.py出现 " error: no commands supplied " 错误
- Android安装软件出现错误提示:INSTALL_FAILED_CONTAINER_ERROR
- 安装MySQL 时,系统提示:Cannot create windows service for mysql.error:0
- CentOS 7.x下安装MySQL错误(ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:)
- rpm文件安装过程提示error: unpacking of archive failed on file肿么办
- 关于windows安装python过程中出现error 2503 2502错误的解决方法
- 安装pymysql,执行setup.py提示no commands supplied
- mysql 安装过程中的错误:my-template.ini could not be processed and written to XXX\my.ini.Error code-1
- 关于安装Sql Server 2000过程中报错command line option syntax error.Type command/? for Help.的原因
- easy_install和pip安装模块,提示error: Unable to find vcvarsall.bat的解决方法
- qtp 版本为9.5 安装的时候提示“command line option syntax error.Type Command/? for help”