daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Dec 10th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### install pip first ###
  2. ### pip is package manager for python ###
  3.  
  4. sudo apt-get install python-pip
  5.  
  6. ### install virtualenv from pip ###
  7. pip install virtualenv
  8.  
  9. ### create your virtual environment ###
  10.  
  11. virtaulenv my_virtual_env
  12.  
  13. ### activate your virtualenv ###
  14. source my_virtual_env/bin/activate
  15.  
  16. ### you can add any libraries using pip now in your my_virtual_env###
  17.  
  18. ### to deactivate ###
  19. deactivate my_virtual_env
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
 
Top