Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named mcstatus #27

Open
ggrea opened this issue Sep 11, 2023 · 2 comments
Open

ImportError: No module named mcstatus #27

ggrea opened this issue Sep 11, 2023 · 2 comments

Comments

@ggrea
Copy link

ggrea commented Sep 11, 2023

Everything goes smoothly with the installation and scanning for servers. Once I try and find the Minecraft servers though, I get the following error:

python mcscanner.py -i masscan.txt -o result.txt -p public.txt Traceback (most recent call last): File "mcscanner.py", line 1, in <module> from mcstatus import JavaServer ImportError: No module named mcstatus

I installed mcstatus using pipx, so I initially thought this was an issue of it being isolated. I reinstalled it using pip3, but still had the same issue. To confirm I had it installed, I ran the following:

pipx list venvs are in /home/<user>/.local/pipx/venvs apps are exposed on your $PATH at /home/<user>/.local/bin package mcstatus 11.0.1, installed using Python 3.11.4 - mcstatus

Let me know if I am doing something wrong or if I can maybe modify mcscanner.py somehow to make it recognise I already have mcstatus installed.

For general information, I am running OpenSUSE Tumbleweed (version 20230906).

@maytrixc
Copy link

same issue :/

@maytrixc
Copy link

found a solution, it's venv being the issue, you can either fix the venv manually: (activate.bat in venv/bin) or get a VS code extention for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants