When installed into a running python3 venv, that path is duplicated. Fairly easy to reproduce.
python3 -m venv .venv
source .venv/bin/activate
tr : '\n' <<<$PATH
Notice that PATH is already prepended with the .venv/bin.
/HERE/.venv/bin
/usr/local/bin
/usr/bin
/usr/local/sbin
/usr/sbin
/home/bozo/.local/bin
/home/bozo/bin
Then install nodeenv inside that active venv.
pip install nodeenv
nodeenv --python-virtualenv --node=lts
The next time you re-activate...
source .venv/bin/activate
tr : '\n' <<<$PATH
...that path is duplicated.
/HERE/.venv/lib/node_modules/.bin
/HERE/.venv/bin
/HERE/.venv/bin <== whoops!
/usr/local/bin
/usr/bin
/usr/local/sbin
/usr/sbin
/home/bozo/.local/bin
/home/bozo/bin
When installed into a running python3 venv, that path is duplicated. Fairly easy to reproduce.
Notice that PATH is already prepended with the
.venv/bin.Then install nodeenv inside that active venv.
The next time you re-activate...
...that path is duplicated.