我使用environment.yml
文件在Anaconda中创建了一个环境。在我尝试打开 Spyder IDE 时激活环境后,它会显示以下错误消息。
>(virtual_platform) thepro@thepro-HP-Pavilion-Notebook:~$ spyder
> Traceback (most recent call last):
File "/home/thepro/anaconda3/envs/virtual_platform/lib/python3.5/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in <module>
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: /home/thepro/anaconda3/envs/virtual_platform/lib/python3.5/site-packages/numexpr/../../../libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libmirclient.so.9)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/thepro/anaconda3/envs/virtual_platform/bin/spyder", line 6, in <module>
sys.exit(spyder.app.start.main())
File "/home/thepro/anaconda3/envs/virtual_platform/lib/python3.5/site-packages/spyder/app/start.py", line 103, in main
from spyder.app import mainwindow
File "/home/thepro/anaconda3/envs/virtual_platform/lib/python3.5/site-packages/spyder/app/mainwindow.py", line 92, in <module>
from qtpy import QtWebEngineWidgets # analysis:ignore
File "/home/thepro/anaconda3/envs/virtual_platform/lib/python3.5/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in <module>
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ImportError: /home/thepro/anaconda3/envs/virtual_platform/lib/python3.5/site-packages/PyQt5/../../../libQt5WebKit.so.5: symbol _ZN15QQuickFlickable11contentItemEv, version Qt_5_PRIVATE_API not defined in file libQt5Quick.so.5 with link time reference
我无法使用以前建议的其他 gcc 版本的解决方案对其进行排序。
提前致谢。