Im trying to make a virtual enviroment in vs code with this command in powershell:
py -3 -m venv venv
But i get this error message:
Error: Command '['C:\\Users\\Oscar GP\\lololol\\venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 101.
This makes the enviroment, but in the Scripts folder it doesn't make a activate file. but with this command it makes all the right files:
virtualenv venv
But with that command, it wont activate the venv correctly, and i cant fx use:
pip install flask
if i try installing flask, then i get this error message:
Unable to create process using 'C:\Users\Oscar GP\AppData\Local\Programs\Python\Python310\python.exe "C:\Users\Oscar GP\lololol\venv\Scripts\pip.exe" install flask'
I have latest versions of python and pip. I've tried uninstalling and reinstalling python and i tried the same commands in cmd and powershell.
If it matters execution policy is also unrestricted.
Anyone knows how to fix this?