Issue
I have a Linux CentOS 6.9 system that has python 2.6 (pre-install) and a python 3.6 installed. I install Ipython by
pip install ipython
However, the ipython seems to use python 2.6 instead of the 3.6 I installed. Is there any ways to switch that around?
Here is some extra information:
# which ipython
/usr/bin/ipython
# which python
/usr/bin/python
# which python3
/usr/local/bin/python3
Solution
As @ForceBru pointed out, you need to use python3
counterpart of pip
.
Try with pip3
pip3 install ipython
Answered By - dlmeetei
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.