Closed mrstephenhanson closed 3 months ago
Hello!
Hm, interesting... How (in which way) MT was installed?
Just for test: Try to install MT via RPM-package: https://build.opensuse.org/projects/home:k_mikhail/packages/maltrail/repositories/Fedora_39/binaries and see, if problem also actual for it? Thank you!
@mrstephenhanson you haven't installed it properly. thirdparty.six.moves
is a standard part of the cloned repo.
let me show you an example:
cd /tmp
git clone --depth=1 https://github.com/stamparm/maltrail.git
cd maltrail
ls -la thirdparty.six
python3
from thirdparty.six.moves import urllib as _urllib
Hmm, same problem here. With python3.11 ("python3.11 server.py") everything works, when using python3.12("python3.12 server.py") I get the above error message: No module named 'thirdparty.six.moves'. Found out that - for some reason - under python3.12 relative imports work differently and I had to replace the thirdparty.six.moves imports with:
from six.moves import urllib as _urllib
from thirdparty.six.moves import urllib as _urllib
Thank you for the help!
Question
Hello, I'm trying to install and run maltrail on Fedora 39, and am running into an issue that I've been unable to find a solution for. Has anyone had this issue or have any ideas on how to solve it?
Support
When trying to start sensor.py:
When following best practices, everything succeeds up to this point, #4: