在anaconda中安装Spyder时出错

时间:2017-10-06 07:17:11

标签: python python-3.x anaconda spyder

今天尝试过anaconda,看起来很好,但是当我每次收到此错误时都尝试启动Spyder:Traceback (most recent call last): File "C:\ProgramData\Anaconda3\Scripts\spyder-script.py", line 6, in <module> from spyder.app.start import main File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\start.py", line 23, in <module> from spyder.utils.external import lockfile File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\external\lockfile.py", line 22, in <module> import psutil File "C:\Users\Jaker\AppData\Roaming\Python\Python36\site-packages\psutil\__init__.py", line 126, in <module> from . import _pswindows as _psplatform File "C:\Users\Jaker\AppData\Roaming\Python\Python36\site-packages\psutil\_pswindows.py", line 16, in <module> from . import _psutil_windows as cext ImportError: cannot import name '_psutil_windows'

对此有何帮助?另外我如何在anaconda中获得python 3.6.3 ..

1 个答案:

答案 0 :(得分:0)

问题是您的系统中安装了两个Python版本:一个在C:\ProgramData\Anaconda3\中,另一个在C:\Users\Jaker\AppData\Roaming\Python\Python36中。

请卸载其中一个,问题就解决了。