Scrapy appears to be installed but can't be imported when in the python shell -
i have used command: sudo pip install scrapy install scrapy inside of virtual environment. after having done so, used command: scrapy --version , got following screen:
but when try import scrapy in python shell, import error. there specific way install scrapy within ubuntu 14.04 besides way provided in docs?
following guide: http://docs.python-guide.org/en/latest/dev/virtualenvs/
pip install virtualenv cd project_folder virtualenv venv source venv/bin/activate pip install scrapy deactivate #when ready leave
if in virtual environment should see (venv) next command prompt. (i got in osx terminal bash)
as mentioned others, running:
which scrapy
will tell binary is. should in under venv folder.
tested on 2013 macbook pro
Comments
Post a Comment