我安装了 chimera,并尝试通过终端运行它,它给出了以下错误消息:
/.local/chimera/bin$ ./chimera #This is the command that i used to launch it
#Below is the error message
Traceback (most recent call last):
File "/home/nicholas/.local/chimera/share/__main__.py", line 73, in <module>
value = chimeraInit.init(sys.argv)
File "/home/nicholas/.local/chimera/share/chimeraInit.py", line 666, in init
import chimera
File "/home/nicholas/.local/chimera/share/chimera/__init__.py", line 2777, in <module>
from SimpleSession import BEGIN_RESTORE_SESSION, END_RESTORE_SESSION
File "/home/nicholas/.local/chimera/share/SimpleSession/__init__.py", line 14, in <module>
from save import saveSession, sessionID, noAutoRestore, autoRestorable, \
File "/home/nicholas/.local/chimera/share/SimpleSession/save.py", line 13, in <module>
from chimera import replyobj, selection, SessionPDBio, version
File "/home/nicholas/.local/chimera/share/chimera/replyobj.py", line 24, in <module>
import Tkinter
File "/home/nicholas/.local/chimera/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: /usr/lib/x86_64-linux-gnu/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var
这种情况下我该怎么办?
答案1
尝试安装 tk-dev
sudo apt-get install tk-dev
之后,重新运行 make 命令并再次启动 chimera