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

Application spyder launch may have produced errors

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

关于错误原因的任何想法and/or如何解决?以前有过类似的问题,但是错误不一样,所以我重新发帖。

版本: 蜘蛛 - 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

您可能需要将 python 降级到 3.6.4。

或:

运行 这个命令:

conda update python python.app