How to use pipenv to install python2, in an environment without python2 so that python2 is used only in the project without affecting the environment.

I tried pipenv install-two

as a result, pipenv is installed with python3, currently used in my environment
without any error.

is there any way to install a stand-alone environment for pipenv? Thank you.

Feb.16,2022

use miniconda. It is convenient to create a multi-environment installation package


pipenv install-- two is to install py2
pipenv without the function of downloading and installing the python interpreter, that is, to use the python, in the system, you need to install a py2 in the system

.
Menu