I am a beginner in python. I am facing the following problem.
Whenever I start pycharm Community edition (version 5.0.3), the Python console fails to starts and shows th
I had the same issue. I solved this by updating ipython.
My version was 3.1.0, upgrading it to 4.1.1 solved it.
in my case:
workon project
pip install -U ipython
I've found that this happened because I had installed ipython version 4.x, and then reverted to 3.2.0, without uninstalling the traitlets more advanced version first. This did the trick then:
pip uninstall ipython[all]
pip uninstall traitlets
pip install ipython==3.2.0
I initially tried unsuccessfully by trying
pip install -U ipython
But then tried following and it worked:
pip uninstall ipython[all]
pip uninstall traitlets
pip install ipython
Thanks @mirandes
In my case, this was due to a conflicting installation of IPython through pip
and apt
. Removing the apt
-installed version using sudo apt remove ipython
fixed the problem.