win 10 ipython 启动不了 报错信息:
来源:1-1 Django入门到进阶-更适合Python小白的系统课程-引言

LOCALHOST90990
2021-06-05
win 10 ipython 启动不了 报错信息:
C:\Users\黑暗守望者.DESKTOP-C4TIUBJ>ipython
Traceback (most recent call last):
File “L:\ANA3\Anaconda3\Scripts\ipython-script.py”, line 11, in
load_entry_point(‘ipython==7.12.0’, ‘console_scripts’, ‘ipython’)()
File “C:\Users\黑暗守望者.DESKTOP-C4TIUBJ\AppData\Roaming\Python\Python37\site-packages\pkg_resources_init_.py”, line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “C:\Users\黑暗守望者.DESKTOP-C4TIUBJ\AppData\Roaming\Python\Python37\site-packages\pkg_resources_init_.py”, line 2859, in load_entry_point
return ep.load()
File “C:\Users\黑暗守望者.DESKTOP-C4TIUBJ\AppData\Roaming\Python\Python37\site-packages\pkg_resources_init_.py”, line 2450, in load
return self.resolve()
File “C:\Users\黑暗守望者.DESKTOP-C4TIUBJ\AppData\Roaming\Python\Python37\site-packages\pkg_resources_init_.py”, line 2456, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “C:\Users\黑暗守望者.DESKTOP-C4TIUBJ\AppData\Roaming\Python\Python37\site-packages\IPython_init_.py”, line 55, in
from .core.application import Application
File “C:\Users\黑暗守望者.DESKTOP-C4TIUBJ\AppData\Roaming\Python\Python37\site-packages\IPython\core\application.py”, line 25, in
from IPython.core import release, crashhandler
File “C:\Users\黑暗守望者.DESKTOP-C4TIUBJ\AppData\Roaming\Python\Python37\site-packages\IPython\core\crashhandler.py”, line 27, in
from IPython.core import ultratb
File “C:\Users\黑暗守望者.DESKTOP-C4TIUBJ\AppData\Roaming\Python\Python37\site-packages\IPython\core\ultratb.py”, line 112, in
from IPython.core import debugger
File “C:\Users\黑暗守望者.DESKTOP-C4TIUBJ\AppData\Roaming\Python\Python37\site-packages\IPython\core\debugger.py”, line 38, in
from IPython.utils import PyColorize
ModuleNotFoundError: No module named 'IPython.utils’
电脑没有linux,可以附带一份网盘的安装包吗
1回答
-
deweizhang
2021-06-05
anaconda是一个集成python环境,除非你确定对你的系统兼容度足够好,否则建议别用,并且真实工作中也不会用,因为会消耗更多空间与资源。建议去掉。只是用原始python配合pip安装django。win10是一定兼容的。并且路径不要使用中文与特殊符号,比如.@等。python安装在c盘默认位置,不要自定义(我曾遇到不在默认地址出错的情况)。如果你想使用虚拟机 推荐你vmware安装linux,推进ubuntu。如果你熟悉docker,可以直接用docker
00
相似问题