mark2devel / mark2

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

Error with twisted module when using all commands #117

Closed giopalma closed 3 years ago

giopalma commented 4 years ago

I followed the guide but I have always this error. I'm using Ubuntu with python 2.7.17 and pip3 (as instruction says)

Traceback (most recent call last): File "/usr/bin/mark2", line 3, in from mk2.launcher import main File "/usr/mark2/mk2/launcher.py", line 14, in from . import manager File "/usr/mark2/mk2/manager.py", line 5, in from twisted.internet import reactor ImportError: No module named twisted.internet

mattboy9921 commented 4 years ago

Just encountered this when trying to set up Mark2 with the latest install instructions. I installed python-pip instead of python3-pip and used the command sudo pip install -r requirements.txt within the mark2 folder. After that, it works as expected. Not sure why pip3 is an issue here, but that's how I fixed it.

Edit: While that did let mark2 run, now it just doesn't show anything and nothing works. I'm not sure what the issue is.

Edit 2: I think I've found a final solution. I opened my own issue thread about this and my comment should help: https://github.com/gsand/mark2/issues/119#issuecomment-621551148

Column01 commented 3 years ago

Alright, this should have been fixed with my changes to the documentation, but if it wasn't I've since updated mark2 to python 3 and it should no longer be a problem if you reinstall following the install guide. Please make a new issue if you update and still have issues