今天尝试过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 ..
答案 0 :(得分:0)
问题是您的系统中安装了两个Python版本:一个在C:\ProgramData\Anaconda3\
中,另一个在C:\Users\Jaker\AppData\Roaming\Python\Python36
中。
请卸载其中一个,问题就解决了。