a guest Oct 21st, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Set your project name to use in the next commands (simplifies re-use that commands)
  2. PROJECT_NAME=my_project
  3. # First of all, delete all broken links. Replace  my_project_name` to your virtual env name
  4. find ~/.virtualenvs/$PROJECT_NAME/ -type l -delete
  5. # Then create new links to the current Python version
  6. virtualenv ~/.virtualenvs/$PROJECT_NAME/
  8. # It's it. Just repeat for each virtualenv located in ~/.virtualenvs
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand