mark2devel / mark2

Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
205 stars 44 forks source link

no module named 'imp' #172

Closed Xlaits closed 4 months ago

Xlaits commented 6 months ago

As seen in the title.

Running Void Linux, fresh install of everything.

This makes the program impossible to run.

Column01 commented 6 months ago

The module was removed in python 3.12 and one of the libraries we used must use it for something, mark2 requires an older version of python to work (3.6 is the target iirc). What version of python are you using?

Xlaits commented 6 months ago

Latest, as that's really all that is available in my repos.

On Tue, Jan 16, 2024, 12:32 PM Colin @.***> wrote:

The module was removed in python 3.12 and one of the libraries we used must use it for something, mark2 requires an older version of python to work (3.6 is the target iirc). What version of python are you using?

— Reply to this email directly, view it on GitHub https://github.com/mark2devel/mark2/issues/172#issuecomment-1894199748, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHX2YDMIXUXUNVREF72SZKDYO22TVAVCNFSM6AAAAABB5GCFXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUGE4TSNZUHA . You are receiving this because you authored the thread.Message ID: @.***>

Column01 commented 6 months ago

Do you have the full traceback of what is happening when the error occurs?

Xlaits commented 6 months ago
Traceback (most recent call last):
  File "/usr/bin/mark2", line 3, in <module>
    from mk2.launcher import main
  File "/home/xlaits/git/mark2/mk2/launcher.py", line 14, in <module>
    from . import manager
  File "/home/xlaits/git/mark2/mk2/manager.py", line 10, in <module>
    from . import events, plugins, properties
  File "/home/xlaits/git/mark2/mk2/plugins/__init__.py", line 2, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
Column01 commented 6 months ago

Ah so this is part of mark2 causing it. Unfortunately I have no way of making a development environment atm as my linux machine is down for now and a linux virtual machine never worked properly in my testing of mark2. This will take a bit for me to be able to fix it. For now are you able to install an older version of python?

Xlaits commented 6 months ago

Unfortunately, I do not think so.

On Wed, Jan 17, 2024, 12:06 PM Colin @.***> wrote:

Ah so this is part of mark2 causing it. Unfortunately I have no way of making a development environment atm as my linux machine is down for now and a linux virtual machine never worked properly in my testing of mark2. This will take a bit for me to be able to fix it. For now are you able to install an older version of python?

— Reply to this email directly, view it on GitHub https://github.com/mark2devel/mark2/issues/172#issuecomment-1896235350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHX2YDPYQR4PIKSBJEJATADYPAAJHAVCNFSM6AAAAABB5GCFXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGIZTKMZVGA . You are receiving this because you authored the thread.Message ID: @.***>

Column01 commented 4 months ago

Sorry this took so long but this should be fixed, let me know if you have further issues!