重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
如下示例演示了使用pip安装virtual,并建立虚拟环境VMware-Python-sdk,切换至虚拟环境,退出虚拟环境
创新互联建站始终坚持【策划先行,效果至上】的经营理念,通过多达10余年累计超上千家客户的网站建设总结了一套系统有效的网络营销推广解决方案,现已广泛运用于各行各业的客户,其中包括:成都墙体彩绘等企业,备受客户赞许。[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
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。