Closed mailinglists35 closed 4 months ago
Same error here, my script was named podman.py, just rename it to something else and it will work
closing, I reproduced it and having the script named anything else than podman works :)
so you did not actually make any fix, you just closed the issue? that's not fixing, that is just a workaround.
As far as I understood, the script does not work if it's named podman.py
. This is a totally legit python modules behavior. If you name the file the same as a module, it can make the python import calls ambiguous. I would suggest changing your file name unless you have a very specific reason to keep it called podman.py
.
I can suggest more workarounds for the issue, but that's really a matter of python, not of podman-py. The issue is closed simply because it is not a bug.
You are welcome to reopen the issue with more details of your use case.
thanks for the explanation.
as a non-coder just a copypasta monkey, it literally makes no sense to me for something not work if called a particular name.
I mean this is 2024, not 1980's when msdos would not allow files named CON or some others
requirements: