[Django]-How to Copy/Clone a Virtual Environment from Server to Local Machine

54๐Ÿ‘

โœ…

  1. Run pip freeze > requirements.txt on the remote machine
  2. Copy that requirements.txt file to your local machine
  3. In your local virtual environment, run pip install -r requirements.txt

And, so long as all of the requirements are well behaved Python packages, you should be good to go.

๐Ÿ‘คDavid Wolever

2๐Ÿ‘

Please using Freeze command and you will get text file with all the versions of packages.
Then install them using easy install or pip install

๐Ÿ‘คAbin Abraham

Leave a comment