Guest User

Untitled

a guest
Dec 10th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment