What's the output of "which scrapy"?

It should be a path within your virtualenv root directory.

Did you enabled the global site packages in your virtualenv?

If you are using virtualenvwrapper, you can execute:
toggleglobalsitepackages
Otherwise see here:
http://stackoverflow.com/questions/3371136/revert-the-no-site-packages-option-with-virtualenv?rq=1


You should be able to execute without errors (no output): python -c "import
IPython"



On Mon, Jan 13, 2014 at 11:47 AM, Łukasz Kulbacki <[email protected]
> wrote:

> Hi everyone!
>
> I've just installed IPython and Scrapy - but whenever I fire up '$ scrapy
> shell' it uses standard python shell. Is there any option I should override
> to use IPython instead? The documentation says only that scrapy will choose
> IPython over standard python shell automatically, which it doesn't.
>
> I've installed Scrapy and dependencies in separate virtualenv, while
> IPython as global library (recommended 
> Anaconda<http://continuum.io/downloads.html>installer) - nevertheless, I can 
> fire up IPython manually from within
> virualenvironment with '$ ipython' command.
>
> My configuration (both commands fired from within virtualenv):
>
> '$ pip freeze' output:
>
> *SQLAlchemy==0.9.1*
> *Scrapy==0.20.2*
> *Twisted==13.2.0*
> *cssselect==0.9.1*
> *lxml==3.2.5*
> *psycopg2==2.5.2*
> *pyOpenSSL==0.13.1*
> *queuelib==1.1.1*
> *six==1.5.2*
> *w3lib==1.5*
> *wsgiref==0.1.2*
> *zope.interface==4.0.5*
>
> '$ ipython --version' output:
> *1.1.0*
>
> I'd appriciate any help!
>
> Łukasz
>
> --
> You received this message because you are subscribed to the Google Groups
> "scrapy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/scrapy-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to