How To Upgrade Python in Virtual Environment

How To Upgrade Python in Virtual Environment

Jie Jenn

2 года назад

28,745 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@keitasekou6110
@keitasekou6110 - 21.05.2022 22:24

Thanks a lot, man. You solved in one minute a problem I tried to solve for hours of research.

Ответить
@rabbitazteca23
@rabbitazteca23 - 01.04.2022 14:00

hi until which directory is the virtual environment? Because my virtual environment is at "C:\Users\core i5\Documents\GitHub\DataScience\pyenv"

But when I used this as the directory, I got this error message:

"Error: Command '['C:\\Users\\core i5\\Documents\\GitHub\\DataScience\\pyenv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 101."

Please help if you can.

Ответить
@nielscassius3875
@nielscassius3875 - 01.01.2022 13:45

so I have the latest update of Python, which is 3.10.1
but when I create a Virtual Environment, it on default installed Python's version of 3.8.8

how can I upgrade that to 3.10.1 ?
thank you

Ответить