Home > other >  Window10 system install ipython display an error in the CMD window
Window10 system install ipython display an error in the CMD window

Time:11-19

C: \ Users \ Administrator> Ipython
Traceback (the most recent call last) :
File "c: \ users \ \ administrator \ \ appdata \ local \ designed \ python python38 \ lib \ runpy py", line 194, in _run_module_as_main
Return _run_code (code, main_globals, None,
File "c: \ users \ \ administrator \ \ appdata \ local \ designed \ python python38 \ lib \ runpy py", line 87, in _run_code
The exec (code, run_globals)
File "C: \ Users \ \ Administrator \ \ AppData \ Local \ designed \ Python Python38 \ Scripts \ ipython exe \ __main__ py", line 4, the in & lt; module>
File "c: \ users \ \ administrator \ \ appdata \ local \ designed \ python python38 \ lib \ site - packages \ IPython \ set py", line 55, in & lt; module>
From the core. The application import application
The File "c: \ users \ \ administrator \ \ appdata \ local \ designed \ python python38 \ lib \ site - packages \ IPython \ core \ application py", line 23, in & lt; module>
The from traitlets. Config. Application the import application, catch_config_error
File "c: \ users \ \ administrator \ \ appdata \ local \ designed \ python python38 \ lib \ site - packages \ traitlets \ set py", line 1, the in & lt; module>
From the traitlets import *
File "c: \ users \ \ administrator \ \ appdata \ local \ designed \ python python38 \ lib \ site - packages \ traitlets \ traitlets py", line, 59 in & lt; module>
From the utils. Getargspec import getargspec
The File "c: \ users \ \ administrator \ \ appdata \ local \ designed \ python python38 \ lib \ site - packages \ traitlets \ utils \ getargspec py", line 13, the in & lt; module>
From the six import PY3
ImportError: always import the name 'PY3 from' six '(unknown location)

CodePudding user response:

Install six first, and then try again

CodePudding user response:

Using CMD to uninstall the PIP uninstall six
Then rebind PIP install six
Then unloading PIP uninstall ipython
Then rebind PIP install ipython
The magic can make neither head nor tail of it ha ha ha
  • Related