Is it possible to create a Python 3.8 virtual environment without admin privileges if there is only Python 3.4 installed? CentOS

Alvaro Bataller :

At my work they have installed Python 3.4 and I have created virtual environments using that version but now I need Python 3.8 to work on a personal project on my spare time. Is it possible to create a venv using Python 3.8 without having admin privileges?

We use CentOS for OS.

Many thanks!

miszcz2137 :

Afaik the python3.8 binary is needed. So you would need to compile it from sources (meaning download source, compile, put result somwhere in your home). Then you can do venv normally.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=279244&siteId=1