Kein Modul namens traitlets.config.Anwendung
Habe ich installiert ipython
durch apt-get install ipython unter Ubuntu 14.04 und meine python version 2.7.6. Bei mir lief ipython
in der Konsole, hatte ich diesen Fehler konnte ich nicht finden, ähnliche Probleme auf einer beliebigen Website. Kann mir jemand helfen?
Traceback (most recent call last):
File "/usr/local/bin/ipython", line 4, in <module>
from IPython import start_ipython
File "/usr/local/lib/python2.7/dist-packages/IPython/__init__.py", line 47, in <module>
from .core.application import Application
File "/usr/local/lib/python2.7/dist-packages/IPython/core/application.py", line 22, in <module>
from traitlets.config.application import Application, catch_config_error
ImportError: No module named traitlets.config.application
- stellen Sie sicher, dass Ihre Ausführungen richtig sind. Hast du pip installiert und ausprobiert: pip install traitlets
- apt-get sollte in der Regel installieren Sie alle Abhängigkeiten. Aber es ist etwas seltsam über diese, weil apt-get nicht normal installieren in /usr/local . Ist es möglich, die OP hat 2 Versionen von python, oder 2 Versionen des ipython, mit einem Konflikt.
Du musst angemeldet sein, um einen Kommentar abzugeben.
Als @user3682792 sagt, tun nur
Behoben dieses Problem für mich. Danke!