Ubuntu20 python3.7 virtual environment

le4m·2022년 5월 24일
0

In Ubuntu 20, the default python version is python3.8.

To create the virtual environment of python3.7 do the following:

pip install virtualenv
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get install python3.7-distutils
virtualenv --python=python3.7 /home/user_name/py_venvs/xxx_venv

0개의 댓글