怎样在mac os (catalina)上安装python2的virtualenv | how to install virtualenv for python2 on mac os (catalina)

虽然我们已经跨入python3的时代,但是有不少老程序还是需要python2的。本文介绍如果在mac os上给python2装virtualenv。安装用以下命令

pip2 install virtualenv

使用

python2 -m virtualenv -p python2 <venv path>

Leave a Comment

Your email address will not be published.