Unable to run Autodock using “adt” alias.

Browse QuestionsCategory: QuestionsUnable to run Autodock using “adt” alias.
Bioinformatics Review Reader Staff asked 9 months ago

When I try to run autodock vina by writing adt in the terminal, it shows the following error:

setting PYTHONHOME environment
Run ADT from  /home/user/Downloads/mgltools_i86Linux2_1.5.6/MGLToolsPckgs/AutoDockTools
Traceback (most recent call last):
File "/home/user/Downloads/mgltools_i86Linux2_1.5.6/MGLToolsPckgs/AutoDockTools/__init__.py", line 416, in run ADT
from Tkinter import Tk
File "/home/user/Downloads/mgltools_i86Linux2_1.5.6/lib/python2.5/lib-tk/Tkinter.py", line 38, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libX11.so.6: cannot open shared object file: No such file or directory
hit enter to continue

1 Answers
Muniba Faiza Staff answered 9 months ago

You need to install the Tkinter using the following command:
$ sudo apt-get install tk-dev
In case, the issue does not get resolved by this, then try the following commands:
$ sudo apt-get install python-tk python3-tk tk-dev

0 $0.00