M
M
MAXH02021-07-26 17:58:57
Python
MAXH0, 2021-07-26 17:58:57

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

2 answer(s)
M
MAXH0, 2021-07-27
@MAXH0

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...

D
Dmitry, 2021-07-27
@LazyTalent

Get started with pyenv & poetry. Saviours in the p...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question