我想运行一个使用python2.7版本的应用程序,但默认情况下未安装python2.7。当我尝试使用时:
$ virtualenv -p python2 flaskold
Run Code Online (Sandbox Code Playgroud)
它返回:
RuntimeError: failed to find interpreter for Builtin discover of python_spec='python2'
Run Code Online (Sandbox Code Playgroud)
如何在不支持 python 2.7 的 Ubuntu 20.04 上创建 python2.7 虚拟环境?