spersels
(shawn)
November 7, 2021, 2:24am
1
Trying to create venv for Python 3.10 using "python3.10 -m venv venv get error message:
Error: Command ‘[’/home/shawn/dev/py/proj1/venv/bin/python3.10’, ‘-Im’, ‘ensurepip’, ‘–upgrade’, ‘–default-pip’]’ returned non-zero exit status 1.
directory venv is created but the activate files are not created…
What am I doing wrong.
BowlOfRed
(BowlOfRed)
November 7, 2021, 5:31am
2
What OS is this happening on?
ullix
(Ullix)
November 7, 2021, 8:13am
3
spersels
(shawn)
November 7, 2021, 2:22pm
4
Thank you - mistake was not installing python3.10-venv. I had python3-venv installed but not 3.10.
Sup
(Suppi)
July 26, 2022, 10:47am
5
Hey @spersels I’m having the very same issue … Could you please help me with what to do ?
I’m having a hard time figuring it out. It would really mean a lot if you could be a little bit clear. Thank you
vbrozik
(Václav Brožík)
July 26, 2022, 7:56pm
6
Do you have multiple Python versions installed?
I think the problem was that you need a separate venv package installed for every Python version you want to use venv with.
Also I suggest you to show information about your system, the exact command and the result copied from your terminal.