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的部署和使用
分享链接:https://www.cdcxhl.com/article4/ghesoe.html

成都网站建设公司_创新互联,为您提供手机网站建设Google网站建设用户体验微信公众号

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都app开发公司