嵌入式C语言采集节点实战:状态机、DMA与Modbus避坑指南
2026/10/20 3:38:54
virtualenv 是一个强大的工具,用于创建独立的 Python 虚拟环境,避免不同项目之间的依赖冲突。
可以使用以下命令分别创建 Python 2.4 和 Python 2.5 的虚拟环境:
$ virtualenv-py24 /tmp/sandbox/py24ENV New python executable in /tmp/sandbox/py24ENV/bin/python Installing setuptools.................done. $ /tmp/sandbox/py24ENV/bin/python Python 2.4.4 (#1, Dec 24 2007, 15:02:49) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> $ ls /tmp/sandbox/py24ENV/ bin/ lib/ $ ls /tmp/sandbox/py24ENV/bin/ activate easy_install* easy_install-2.4* python* python2.4@