Describe the bug
I thought that one of the benefits of pdm-venv was to not type pdm run [comand] every time. However, I could not invoke CLI commands from other packages without running pdm run, even when the environment is activated
(.venv) anhoang@c2b9 /lab/corradin_biobank/FOR_AN/test-project$ which python
/lab/corradin_biobank/FOR_AN/test-project/.venv/bin/python
(.venv) anhoang@c2b9 /lab/corradin_biobank/FOR_AN/test-project$ which pdm
/home/anhoang/.local/bin/pdm
(.venv) anhoang@c2b9 /lab/corradin_biobank/FOR_AN/test-project$ which jupyter
/lab/corradin_data/FOR_AN/anaconda3/envs/jupyterlab/bin/jupyter
#should be /lab/corradin_biobank/FOR_AN/test-project/.venv/bin/jupyter
To Reproduce
Steps to reproduce the behavior:
Install pdm using curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 - into $HOME/.local/bin. Then pdm plugin add pdm-venv
Describe the bug I thought that one of the benefits of
pdm-venv
was to not typepdm run [comand]
every time. However, I could not invoke CLI commands from other packages without runningpdm run
, even when the environment is activatedTo Reproduce Steps to reproduce the behavior:
curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -
into$HOME/.local/bin
. Thenpdm plugin add pdm-venv
pdm config venv.in_project True; pdm config install.cache True
test-project
pdm use 3.9; pdm venv create; pdm add nbdev, jupyter
eval $(pdm venv activate in-project)
jupyter
ornbdev_new
pdm run jupyter
andpdm run nbdev_new
works as expectedSystem (please complete the following information):
pdm-venv
version: 0.5.0