Cannot create venv for Python 3.10

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.

What OS is this happening on?

I am using venv successfully on Linux based on this Howto:
https://sourceforge.net/projects/geigerlog/files/Articles/HOWTO%20-%20Using%20Python%20in%20a%20virtual%20Environment%20on%20Linux-v1.0.pdf/download

Thank you - mistake was not installing python3.10-venv. I had python3-venv installed but not 3.10.

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

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.