Spyder启动麻烦

时间:2018-05-24 08:15:24

标签: python anaconda spyder

我有麻烦启动Spyder。 这是错误消息:

Traceback (most recent call last):
File "/Applications/anaconda3/bin/spyder", line 7, in 
from spyder.app.start import main
File "/Applications/anaconda3/lib/python3.6/site-packages/spyder/app/start.py", line 27, in 
from spyder.config.main import CONF
File "/Applications/anaconda3/lib/python3.6/site-packages/spyder/config/main.py", line 22, in 
from spyder.config.user import UserConfig
File "/Applications/anaconda3/lib/python3.6/site-packages/spyder/config/user.py", line 26, in 
from spyder.utils.programs import check_version
File "/Applications/anaconda3/lib/python3.6/site-packages/spyder/utils/programs.py", line 18, in 
import subprocess
File "/Applications/anaconda3/lib/python3.6/subprocess.py", line 136, in 
import _posixsubprocess
ImportError: dlopen(/Applications/anaconda3/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so, 2): Symbol not found: __Py_set_inheritable_async_safe
Referenced from: /Applications/anaconda3/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so
Expected in: flat namespace
in /Applications/anaconda3/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so

有人知道发生了什么事吗?

2 个答案:

答案 0 :(得分:1)

Spyder维护者在这里)要解决此问题,您需要打开Terminal.app并在那里运行

conda update python python.app spyder

答案 1 :(得分:0)

运行 conda update --all

可以解决这个问题!