Make sure your virtual environment is activated. For this demo, mine is called py3.
Now install iPython.
pip install iPython
pip3 install iPython
After running iPython you may still see the warning find that it's still trying to use Python 2.7. If so, look at Step 2.
From your bash shell, run:
And try running iPython again.
When you've run iPython previously in a shell session, that command was cached. This command simply resets the cache. And now when you run:
It will refer to the version of iPython that you installed in your virtual environment.