python停止工作在anaconda提示启动
问题描述:
最近我已经在我的笔记本电脑上安装了anaconda 64位python 3版本。 当我开始蟒蛇提示,它显示的“巨蟒已停止工作”python停止工作在anaconda提示启动
这是在提示错误错误,
Fatal Python error: Py_Initialize: unable to load the file system codec
File "C:\Python27\Lib\encodings\__init__.py", line 123
raise CodecRegistryError,\
SyntaxError: invalid syntax
我已经做了足够的搜索,但没有找到任何东西。 请帮我解决这个错误。
谢谢。
答
我得到了摆脱错误的。 因为我已经安装了python 2.7并试图用python 3安装anaconda。
我不得不卸载python 2.7,现在它工作正常。 谢谢。
答
这个错误似乎通常是因为没有设置pythonhome环境变量。
查看回答第一个评论在这个堆栈溢出后 Python3 installed successfully, but cannot be opened in terminal
我确实在所有环境变量中输入了正确的路径。仍然错误是持久的。 – Abhishek