Tried anaconda today , it seems fine but when I tried to launch Spyder each time I get this error: 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'
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'
Any help regarding this ? Also how do I get python 3.6.3 in anaconda..?
The problem is you have two Python versions installed in your system: one in C:\\ProgramData\\Anaconda3\\
and the other in C:\\Users\\Jaker\\AppData\\Roaming\\Python\\Python36
.
Please uninstall one of them and the problem will be solved.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.