Menu

#4 ModuleNotFoundError: No module named 'pygtk'

open
nobody
None
5
2021-12-28
2021-01-12
Macc Beo
No

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>

Related

Bugs & Requests: #4

Discussion

  • Macc Beo

    Macc Beo - 2021-12-28

    So?

     
  • Ben

    Ben - 2021-12-28

    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).

     
    • Macc Beo

      Macc Beo - 2021-12-28

      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:

      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).


      [bugs-requests:#4]
      https://sourceforge.net/p/moonshiner/bugs-requests/4/
      ModuleNotFoundError: No module named 'pygtk'

      Status: open
      Group:
      Created: Tue Jan 12, 2021 05:55 PM UTC by Macc Beo
      Last Updated: Tue Dec 28, 2021 09:21 AM UTC
      Owner: nobody

      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>


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/moonshiner/bugs-requests/4/
      https://sourceforge.net/p/moonshiner/bugs-requests/4/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs & Requests: #4

  • Ben

    Ben - 2021-12-28

    No, that shouldn't be necessary. Python 2 and 3 can usually coexist. What's your operating system?

     
    • Macc Beo

      Macc Beo - 2021-12-29

      Linux Mint 20.2

      Kernel 5.4.0-91-generic

      Any suggestion?

      Thanks.

      Il 28/12/21 16:44, Ben ha scritto:

      No, that shouldn't be necessary. Python 2 and 3 can usually coexist.
      What's your operating system?


      [bugs-requests:#4]
      https://sourceforge.net/p/moonshiner/bugs-requests/4/
      ModuleNotFoundError: No module named 'pygtk'

      Status: open
      Group:
      Created: Tue Jan 12, 2021 05:55 PM UTC by Macc Beo
      Last Updated: Tue Dec 28, 2021 09:40 AM UTC
      Owner: nobody

      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>


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/moonshiner/bugs-requests/4/
      https://sourceforge.net/p/moonshiner/bugs-requests/4/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs & Requests: #4

      • Macc Beo

        Macc Beo - 2022-01-03

        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:

        Linux Mint 20.2

        Kernel 5.4.0-91-generic

        Any suggestion?

        Thanks.

        Il 28/12/21 16:44, Ben ha scritto:

        No, that shouldn't be necessary. Python 2 and 3 can usually coexist.
        What's your operating system?


        [bugs-requests:#4]
        https://sourceforge.net/p/moonshiner/bugs-requests/4/
        ModuleNotFoundError: No module named 'pygtk'

        Status: open
        Group:
        Created: Tue Jan 12, 2021 05:55 PM UTC by Macc Beo
        Last Updated: Tue Dec 28, 2021 09:40 AM UTC
        Owner: nobody

        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>


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/moonshiner/bugs-requests/4/
        https://sourceforge.net/p/moonshiner/bugs-requests/4/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Bugs & Requests: #4


Log in to post a comment.

MongoDB Logo MongoDB