ModuleNotFoundError: No module named 'pygtk'
Brought to you by:
balpha
The software won't start. This is the error message I get when I run it from terminal. What should I do?
Thanks.
Regards.
$ moonshiner
Traceback (most recent call last):
File "/usr/local/bin/moonshiner", line 21, in <module>
from moonshiner_modules.moonshiner_main import run
File "/usr/local/lib/python3.8/dist-packages/moonshiner_modules/moonshiner_main.py", line 21, in <module>
import pygtk
ModuleNotFoundError: No module named 'pygtk'</module></module>
So?
I haven't worked on moonshiner for close to a decade, so I was quite surprised to see that it still works fine when I tried it right now 😀 There's just one caveat:
You have to run it with Python 2.
PyGTK isn't available with Python3 (apparently there's a successor called PyGObject; I don't know how easy it would be to port it over).
Thanks for your reply.
Actually I am not familiar with Python and I am not sure I understand
what you mean when you say I sould run it with Python 2.
Does this mean I should uninstall all the Python 3 packages from my
system? Would this affect other installed software?
Il 28/12/21 10:41, Ben ha scritto:
Related
Bugs & Requests: #4
No, that shouldn't be necessary. Python 2 and 3 can usually coexist. What's your operating system?
Linux Mint 20.2
Kernel 5.4.0-91-generic
Any suggestion?
Thanks.
Il 28/12/21 16:44, Ben ha scritto:
Related
Bugs & Requests: #4
Hope you had an excellent start of the new year.
Also, hope you can give me the requested suggestion.
Thanks a lot.
Regards.
Il 29/12/21 18:11, YM ha scritto:
Related
Bugs & Requests: #4