Open mgedmin opened 5 years ago
Hey Marius,
Sorry for the late reply. I've been quite busy. I'll review the pull request soon (looks good at first sight) and apply it if it doesn't break any of the other distribution methods.
The same problem happens if I try to use pipx install ansible-cmd
. (pipx is a pipsi replacement, since pipsi is no longer maintained.)
Have the same problem.
Traceback (most recent call last):
File "/bin/../lib/ansiblecmdb/ansible-cmdb.py", line 19, in
uninstall python and reinstall it again. ?? it did not work.
Any ideers for solution?
Hm, I got a comment notification via email from Romain Lalaut:
FYI the problem has been fixed with the version 1.31 I was using the workaround proposed by mgedmin (thanks!) but I no longer have to use it.
But I don't see that comment here? I'm going to close this issue in the assumption that this is fixed. I'll be merging mgeadmin's setuptools entry point PR pretty soon, which should get rid of these problems once and for all.
Hi, I thought the problem was fixed but it was not. Thus I removed my comment but didn't think about the notifications. Sorry about the confusion...
No worries. I'm reopening this issue.
Any progress here? Still a bug as of today.
Similarly
$ pipx run ansible-cmdb
Traceback (most recent call last):
File "/home/me/.local/pipx/.cache/a213a075564eaf4/bin/../lib/ansiblecmdb/ansible-cmdb.py", line 20, in <module>
import ansiblecmdb
ModuleNotFoundError: No module named 'ansiblecmdb'
pipsi is a tool that creates virtualenvs and symlinks tools into your PATH. E.g.
is roughly equivalent to
Unfortunately this breaks ansible-cmdb's wrapper script: