MrBruz / Minecraft-Server-Scanner

Let's you scan the entire internet in a couple of hours and identify all Minecraft servers on IPV4
168 stars 36 forks source link

ImportError: No module named mcstatus #27

Open ggrea opened 12 months ago

ggrea commented 12 months ago

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//.local/pipx/venvs apps are exposed on your $PATH at /home//.local/bin package mcstatus 11.0.1, installed using Python 3.11.4

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