应用程序spyder启动可能会产生错误

时间:2018-04-19 08:30:02

标签: python anaconda spyder launch

我试图在Mac上从Anaconda启动Spyder,但是得到以下错误。因此,Spyder不会启动。如果我尝试从终端启动Spyder,则会出现同样的错误。

关于错误原因和/或如何解决的任何想法?过去也有类似的问题,但错误不同,这就是我重新发布的原因。

版本: Spyder - 3.2.8 蟒蛇 - 1.8.3 Python - 3.6.5

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

1 个答案:

答案 0 :(得分:3)

您可能必须将python降级到3.6.4。

或:

运行此命令:

conda update python python.app