It seems that there is a problem with installing tox as current user:
I did a pip install --user tox
and it worked but in this case tox
command is not installed and the usual trick of running the module via python -m tox
does not work with tox.
Check the output of the pip command to see where it installed the tox binary. It's probably just not on your path. On my system, it is installed to ~/.local/bin/tox
:
Installing tox script to /home/rene/.local/bin
So I can run it like this:
~/.local/bin/tox
If, for some reason, you want to use the python -m
way, something like this should work:
PYTHONPATH="~/.local/bin" python -m tox
Anyway, I suggest you also take a look at virtualenv.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With