标签:rtu print nbsp python int comment 激活 code lenovo
1.安装virthalenv
pip python-virtualenv
2.创建Python2虚拟环境
virtualenv -p /usr/bin/python2 py2env
3.创建Python3虚拟环境
virtualenv -p /usr/bin/python3 py3env
4.激活虚拟环境
source /home/xyy/py2env/bin/activate
(py2env)root@xyy-Lenovo-G450:~# deactivate
标签:rtu print nbsp python int comment 激活 code lenovo
原文地址:http://www.cnblogs.com/lwhy/p/7751365.html