Closed guettli closed 5 years ago
I suppose you have 2 python installs? One in /home/modcron
and one in /usr
? It looks like that, unless you have /home/modcron/bin
in your $PATH
.
Running /home/modcron/bin/pip instal --ignore-installed hunter
. That should install everything even if they appear to be already installed (eg: colorama*.dist-info
or colorama*.egg-info
present but package actually missing). Running pip uninstall colorama
many times can also clean up the orphaned metadata. I suspect it's this, unless you customized your /home/modcron
python install with symlinks or patches.
Thank you for your fast reply. I guess I understood it now.
I am running a virtualenv (in $HOME) which was created like this:
virtualenv --system-site-packages .
Package colorama
is from /usr/lib:
pip install colorama
Requirement already satisfied: colorama in /usr/lib/python2.7/dist-packages
And your solution works:
pip install --ignore-installed hunter
Now I see the trace:
PYTHONHUNTER="filename_has='check_pro'" tmp/check_processes
Thank you very much!
I guess this can be closed, no clue if I can add anything in the docs about this.
yes, can be closed. thank you
I get this error:
I changed
lib/python2.7/site-packages/hunter.pth
to not catch the exception.Now I see this:
If I try this, importing colorama works:
This is very strange:
colorama
is installed, but hunter can't load it.Do you have a clue how to debug (and solve) this?