python停止在anaconda提示启动时工作

时间:2017-04-20 17:51:00

标签: python anaconda

最近我在笔记本电脑上安装了anaconda 64 bit python 3版本。 当我开始anaconda提示时,它显示错误" Python已停止工作"

这是提示错误,

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

我已经做了足够的搜索但却找不到任何东西。 请帮我解决这个错误。

谢谢。

2 个答案:

答案 0 :(得分:1)

这个错误似乎通常是因为没有设置pythonhome环境变量。

请参阅此堆栈溢出帖子中有关答案的第一条评论 Python3 installed successfully, but cannot be opened in terminal

答案 1 :(得分:1)

我摆脱了错误。 因为我安装了python 2.7并试图用python 3安装anaconda。

我不得不卸载python 2.7,现在它工作正常。 谢谢。

相关问题