简体   繁体   中英

Error In Spyder After Anaconda Install

I just installed Anaconda. I already had Spyder 3.0.0 installed on my Windows 8.1 (64 bit). I also already had Python 3.4 installed. But, after installing Anaconda, I went into Preferences and pointed the Python executable to the Anaconda3 folder to utilize the 3.5 version. But when I started up Spyder again, got the following error:

An error ocurred while starting the kernel
C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\PIL\Image.py:81: RuntimeWarning: The _imaging extension was built for another version of Python.
RuntimeWarning
C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\PIL\Image.py:81: RuntimeWarning: The _imaging extension was built for another version of Python.
RuntimeWarning
Traceback (most recent call last):
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\spyderlib\widgets\externalshell\start_ipython_kernel.py", line 187, in 
from ipykernel.kernelapp import IPKernelApp
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\ipykernel\__init__.py", line 2, in 
from .connect import *
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\ipykernel\connect.py", line 18, in 
import jupyter_client
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\jupyter_client\__init__.py", line 4, in 
from .connect import *
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\jupyter_client\connect.py", line 21, in 
import zmq
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\zmq\__init__.py", line 66, in 
from zmq import backend
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\zmq\backend\__init__.py", line 40, in 
reraise(*exc_info)
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\zmq\backend\__init__.py", line 27, in 
_ns = select_backend(first)
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\zmq\backend\select.py", line 27, in select_backend
mod = __import__(name, fromlist=public_api)
File "C:\WinPython󈛤bit𔂭.4.4.2\python𔂭.4.4.amd64\lib\site‑packages\zmq\backend\cython\__init__.py", line 6, in 
from . import (constants, error, message, context,
ImportError: Module use of python34.dll conflicts with this version of Python.

Any ideas?

Suggestion:

  • rename your directory "C:\\WinPython-64bit-3.4.4.2" in "C:\\WinPython-64bit-3.4.4.2bis"
  • relaunch your Anaconda Spyder
  • if it doesn't help, rename it back to "C:\\WinPython-64bit-3.4.4.2"

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM