You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I am trying to understand how (if possible) to completely separate between two virtual envs. With python I can just create venv2, activate it and start installing packages from scratch. With pdm I switch to venv2 pdm use --venv venv2, but then if I cannot install packages from scratch with pdm add ... as it will install everything from project.toml and will modify it. I am aware that I can install from another .lock file but still don't see how to create a new .lock file from scratch.
Thanks for any help
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I am trying to understand how (if possible) to completely separate between two virtual envs. With python I can just create venv2, activate it and start installing packages from scratch. With pdm I switch to venv2
pdm use --venv venv2
, but then if I cannot install packages from scratch withpdm add ...
as it will install everything from project.toml and will modify it. I am aware that I can install from another .lock file but still don't see how to create a new .lock file from scratch.Thanks for any help
Beta Was this translation helpful? Give feedback.
All reactions