ashcrow/filetranspiler

ModuleNotFoundError: No module named 'magic'

Closed this issue · 5 comments

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'

Related: #23

Thanks for the report. Verifying the Dockerfile. If the packages are not imported I'll updated it shortly.

Thank you very much,

"dnf install -y python3-magic" made it work

@jxadro my pleasure! We'll merge the PR shortly so master's container build is stable once more 👍