从Spyder导入wxpython时出现ImportError

时间:2020-06-29 13:31:23

标签: python wxpython spyder importerror

我在Ubuntu 18.04.4上使用Spyder 4和Python 3.6。我只是在控制台中写了import wx来导入wxpython并得到了ImportError。这是错误消息,

Traceback (most recent call last):

  File "<ipython-input-1-03faa7660341>", line 1, in <module>
    import wx

  File "/home/divyang/Softwares/Linux/yes/lib/python3.6/site-packages/wx/__init__.py", line 17, in <module>
    from wx.core import *

  File "/home/divyang/Softwares/Linux/yes/lib/python3.6/site-packages/wx/core.py", line 12, in <module>
    from ._core import *

ImportError: /home/divyang/Softwares/Linux/yes/lib/python3.6/site-packages/wx/../../../././libharfbuzz.so.0: undefined symbol: FT_Done_MM_Var

我试图用Google搜索这个东西,但是没有任何结果。请帮我解决这个问题。

0 个答案:

没有答案