centos7.3 安装scrapy出错Could not find a version that satisfies the requirement Twisted>=13.1.0
2018-01-31 16:17
741 查看
1错误原因,通过pip install 安装scrapy是报错Could not find a version that satisfies the requirement Twisted>=13.1.0 (from Scrapy) (from versions: )
No matching distribution found for Twisted>=13.1.0 (from Scrapy)
原因是没有安装Twisted
2.在这里需要安装twisted,可通过wget https://pypi.python.org/packages/source/T/Twisted/Twisted-15.2.1.tar.bz2
获取,然后tar -xjvf Twisted-15.2.1.tar.bz2 进行解压
注意在解压是可能会遇到tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now的错误,这是因为你没有安装bzip2,通过
yum -y install bzip2 命令安装一下就好了
3.解压之后,cd Twisted-15.2.1到目录下,通过python setup.py install 指令进行安装
4.最后直接进行pip install scrapy进行scrapy安装就行了
No matching distribution found for Twisted>=13.1.0 (from Scrapy)
原因是没有安装Twisted
2.在这里需要安装twisted,可通过wget https://pypi.python.org/packages/source/T/Twisted/Twisted-15.2.1.tar.bz2
获取,然后tar -xjvf Twisted-15.2.1.tar.bz2 进行解压
注意在解压是可能会遇到tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now的错误,这是因为你没有安装bzip2,通过
yum -y install bzip2 命令安装一下就好了
3.解压之后,cd Twisted-15.2.1到目录下,通过python setup.py install 指令进行安装
4.最后直接进行pip install scrapy进行scrapy安装就行了
相关文章推荐
- Could not find a version that satisfies the requirement Twisted==17.9.0 (from -r re.txt (line 31))
- 用pip安装pymongo模块报错:Could not find a version that satisfies the requirement pymongo(from version:)
- 用pip安装pymongo模块报错:Could not find a version that satisfies the requirement pymongo(from version:)
- 安装PIL报错Could not find a version that satisfies the requirement PIL (from versions: )的解决办法
- mac电脑安装wxPython2.8.12.1不成功怎么办,报错:Could not find a version that satisfies the requirement 2.8.12.1 (f
- Python安装PIL遇到‘Could not find a version that satisfies the requirement PIL’
- 官网安装tensroflow遇到Could not find a version that satisfies the requirement tensorflow-tensorboard
- mac 安装 tensorflow 提示 Could not find a version that satisfies the requirement
- Tensorflow安装问题: Could not find a version that satisfies the requirement tensorflow
- python环境选择和安装,解决could not find a version that satisfies the requirement tensorflow
- Linux pip 安装模块时,一直黄字错误:Could not find a version that satisfies the requirement
- scrapy 安装出错 centos6 requirement Twisted>=13.1.0
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决办法。
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决办法。
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决办法。