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, we are considering to switch to PDM instead of using regular pip & venv tools, but we are trying to come up with an "offline" workflow using PDM.
90% of the time we are connected to internet and PDM works well for those use cases. But in some cases we need to install dependencies of our projects on computers that don't have internet or network connections because the computers are located in highly secured areas (defense, radiation testing, clean rooms etc.).
Our current solution is to download all dependencies in requirements.txt to a local folder:
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, we are considering to switch to PDM instead of using regular pip & venv tools, but we are trying to come up with an "offline" workflow using PDM.
90% of the time we are connected to internet and PDM works well for those use cases. But in some cases we need to install dependencies of our projects on computers that don't have internet or network connections because the computers are located in highly secured areas (defense, radiation testing, clean rooms etc.).
Our current solution is to download all dependencies in requirements.txt to a local folder:
pip download -r requirements.txt -d [PATH_TO_LOCAL_FOLDER]
Put this folder to a USB flash disk, and then copy to the target computer. Then execute this command:
pip install -r requirements.txt --no-index --find-links [PATH_TO_LOCAL_FOLDER]
And this works very well. But is there a way to achieve this with PDM?
Beta Was this translation helpful? Give feedback.
All reactions