SHARE
TWEET

Untitled

a guest May 19th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # python 初始化虚拟环境
  2. $ virtualenv venv
  3. $ virtualenv venv --python=python2.7
  4. $ virtualenv venv --python=python3.6
  5.  
  6.  
  7. # 创建虚拟环境:
  8. $ virtualenv venv
  9. # 激活虚拟环境:
  10. $ source venv/bin/activate
  11. $ . venv/bin/activate
  12. # 退出虚拟环境:
  13. $ deactivate
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