Answer the question
In order to leave comments, you need to log in
How to run a specific version? >> python3.8 -m venv env >> A???
In general, everything is said in the question.
The Ubuntu system is similar.
This command says "Command '['/home/next/flask_proj/my_env/bin/python3.8', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1."
And if you just python -m venv env, then the system will be 3.5 ...
Answer the question
In order to leave comments, you need to log in
ANSWER FOUND (at random):
$ sudo apt install python3.8 python3.8-venv
i.e. it is required not only to install python3.8, but also native venv just for it.
Then
$ python3.8 -m venv env
And then everything goes according to plan...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question