ModuleNotFoundError: No module named 'magic'
Closed this issue · 5 comments
jxadro commented
Using both, python on the host or the container I get the same error: "ModuleNotFoundError: No module named 'magic'"
podman run --rm -ti --volume pwd
:/srv:z localhost/filetranspiler:latest -i bootstrap.ign -f bootstrap -o bootstrap0.ign
^Cls
Traceback (most recent call last):
File "/usr/bin/filetranspile", line 10, in
import magic
ModuleNotFoundError: No module named 'magic'
ashcrow commented
Thanks for the report. Verifying the Dockerfile. If the packages are not imported I'll updated it shortly.
jxadro commented
Thank you very much,
"dnf install -y python3-magic" made it work