How to add the modules directory to the PYTHONPATH ? (Zenmap, Arch)
by Moniquejor from LinuxQuestions.org on (#51KYJ)
Hello
Quote:
Thanks for help


Quote:
[root@archlinux]: ~># zenmap Could not import the zenmapGUI.App module: 'No module named gtk'. I checked in these directories: /usr/local/bin /usr/lib/python27.zip /usr/lib/python2.7 /usr/lib/python2.7/plat-linux2 /usr/lib/python2.7/lib-tk /usr/lib/python2.7/lib-old /usr/lib/python2.7/lib-dynload /usr/lib/python2.7/site-packages /usr/local/lib/python2.7/site-packages/ If you installed Zenmap in another directory, you may have to add the modules directory to the PYTHONPATH environment variable. |