install scrapy with pip and easy_install
2013-07-09 14:11
1316 查看
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
I use pip to install Scrapy and
when create a new Scrapy project with following cmd:
scrapy startproject scoala
I get this error:
vic@vic:~/develop/git$ scrapy startproject scoala Traceback (most recent call last): File "/usr/local/bin/scrapy", line 3, in <module> from scrapy.cmdline import execute File "/usr/local/lib/python2.7/dist-packages/scrapy/cmdline.py", line 7, in <module> from scrapy.crawler import CrawlerProcess File "/usr/local/lib/python2.7/dist-packages/scrapy/crawler.py", line 3, in <module> from twisted.internet import reactor, defer File "/usr/local/lib/python2.7/dist-packages/Twisted-13.1.0-py2.7-linux-x86_64.egg/twisted/__init__.py", line 53, in <module> _checkRequirements() File "/usr/local/lib/python2.7/dist-packages/Twisted-13.1.0-py2.7-linux-x86_64.egg/twisted/__init__.py", line 40, in _checkRequirements raise ImportError(required + ".") ImportError: Twisted requires zope.interface 3.6.0 or later.
and this error turns out using pip to install twisted independently did the trick.So, I decide to uninstall Scrapy:
sudo pip uninstall Scrapyand reinstall Scrapy:
sudo easy_install Scrapyand startproject is ok!!
for more at https://groups.google.com/forum/#!msg/scrapy-users/31omLxz79F4/1Oal_7jHQlIJ
相关文章推荐
- 安装ipython,使用scrapy shell来验证xpath选择的结果 | How to install iPython and how does it work with Scrapy Shell
- Python install easy_install and pip
- Install Pip with Curl and Python—core—docker
- When install ”matplotlib” with ”pip”, if you get the following error, it means the “freetype” and “png” libraries needed by matplotlib are not installed:
- 使用pip install 或者easy_install安装Python的各种包出现cc failed with exit status 1
- How To Install and Configure Django with Postgres, Nginx, and Gunicorn
- easy_install和pip区别
- 【Python错误】windows下使用pip/easy_install提示Fatal error in launcher: Unable to create process using...
- 记录一下python easy_install和pip安装地址和方法
- Add, Remove, and Search Packages in Python with pip
- Fast and easy high resolution fractals with a pixel shader
- pip、easy_install切换国内源
- easy_install与pip 区别
- build and install openssl with vc++
- python环境准备以及easy_install和pip的安装
- python 安装easy_install和pip
- [Docker] Install Docker on Windows (hp) and start with Kitematic
- pip install 时提示:error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Buil
- How to debug SceneLib with Eclipse and How to install SceneLib 1.0 on Ubuntu 10.04
- WINDOS下用EASY_INSTALL,PIP安装PYTHON第三方库