标签:ice dep div bsp win32 ruby nbsp col code
1.virtualenv是用来创建 Python 的虚拟环境的库
#安装 pip install virtualenv #创建一个虚拟环境 virtualenv new_env # F:\envs>virtualenv new_env Using base prefix ‘f:\\python352‘ New python executable in F:\envs\new_env\Scripts\python.exe Installing setuptools, pip, wheel...done. #在 Windows 系统上面使用 virtualenv,进入目录 F:\envs>cd new_env\Scripts #激活虚拟环境 F:\envs\new_env\Scripts>activate (new_env) F:\envs\new_env\Scripts>python Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> #pip list 查看库版本 (new_env) F:\envs\new_env\Scripts>pip list DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.co nf under the [list] section) to disable this warning. pip (9.0.1) setuptools (38.5.2) wheel (0.30.0)
2.virtualenvwrapper 是一个 virtualenv 虚拟环境的管理库
pip install virtualenvwrapper-win
mkvirtualenv new_env
workon new_env
deactivate
rmvirtualenv new_env
lsvirtualenv
标签:ice dep div bsp win32 ruby nbsp col code
原文地址:https://www.cnblogs.com/cevinchen/p/9332765.html