Installing and calling Ipython inside a virtual environment

I am using two different versions scipy

- standard and developer version. I switch between them using virtualenv

. When I use the interactive mode on the terminal with the standard one python

, I see that I can use both versions depending on whether it is activated or deactivated virtualenv

.

However, ipython

I could not recognize virtualenv

. He always chooses the standard one scipy

. However, I already executed pip install ipython

with activated virtualenv

and I saw that ipython is installed there in a separate folder. However, the same is ipython

not called, I believe. How to invoke virtual ipython?

+3


source to share


1 answer


Yes. I found a solution. It is mentioned here . Before running, ipython

executing the following command on the terminal fixes the problem:

hash -r

      



From the same site:

When you started iPython earlier in a shell session, this command was cached. This command just flushes the cache.

0


source







All Articles