Linux环境下virtualenv的部署和使用

如下示例演示了使用pip安装virtual,并建立虚拟环境VMware-Python-sdk,切换至虚拟环境,退出虚拟环境

十载的梁山网站建设经验,针对设计、前端、开发、售后、文案、推广等六对一服务,响应快,48小时及时工作处理。成都全网营销推广的优势是能够根据用户设备显示端的尺寸不同,自动调整梁山建站的显示方式,使网站能够适用不同显示终端,在浏览器中调整网站的宽度,无论在任何一种浏览器上浏览网站,都能展现优雅布局与设计,从而大程度地提升浏览体验。成都创新互联公司从事“梁山网站设计”,“梁山网站推广”以来,每个客户项目都认真落实执行。

[root@shansibleqa ~]# pip install virtualenv
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting virtualenv
  Downloading https://files.pythonhosted.org/packages/62/77/6a86ef945ad39aae34aed4cc1ae4a2f941b9870917a974ed7c5b6f137188/virtualenv-16.7.8-py2.py3-none-any.whl (3.4MB)
     |████████████████████████████████| 3.4MB 22kB/s 
Installing collected packages: virtualenv
Successfully installed virtualenv-16.7.8  
[root@shansibleqa ~]# virtualenv /opt/vmware-python-sdk
  No LICENSE.txt / LICENSE found in source
New python executable in /opt/vmware-python-sdk/bin/python2
Also creating executable in /opt/vmware-python-sdk/bin/python
Installing setuptools, pip, wheel...
done.
[root@shansibleqa ~]# source /opt/vmware-python-sdk/bin/activate
(vmware-python-sdk) [root@shansibleqa ~]# 
(vmware-python-sdk) [root@shansibleqa ~]# 
(vmware-python-sdk) [root@shansibleqa ~]# deactivate

当前文章:Linux环境下virtualenv的部署和使用
本文地址:http://hxwzsj.com/article/ghesoe.html

其他资讯

Copyright © 2025 青羊区翔捷宏鑫字牌设计制作工作室(个体工商户) All Rights Reserved 蜀ICP备2025123194号-14
友情链接: 成都网站设计公司 成都网站制作 成都网站建设 重庆企业网站建设 网站设计制作报价 手机网站建设套餐 营销型网站建设 成都网站建设 成都网站建设公司 外贸网站建设 企业网站建设 成都网站建设 成都网站制作 企业网站设计 重庆企业网站建设 成都网站设计 成都h5网站建设 成都网站建设公司 营销型网站建设 网站制作 成都商城网站建设 网站制作公司