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:

enter image description here

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

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -