Nov-10-2024, 10:58 AM
Hello everyone, I am completely new and just wanted to start a virtual environment using python on visual studio code. After opening a new terminal I typed the following which gave an error code.
PS C:\Users\Willem\Desktop\Willem Stats\Simple_Flask_App> python -m venv venv
Error: Command '['C:\\Users\\Willem\\Desktop\\Willem Stats\\Simple_Flask_App\\venv\\Scripts\\python.exe', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
I tried unistalling/deleting python and redownlading making sure I allow the correct PATH. With no avail.
After getting a series of prompts from chatgpt, the error still have not been solved.
My brain is mush and I don't know how to get this solved. Please help!
PS C:\Users\Willem\Desktop\Willem Stats\Simple_Flask_App> python -m venv venv
Error: Command '['C:\\Users\\Willem\\Desktop\\Willem Stats\\Simple_Flask_App\\venv\\Scripts\\python.exe', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
I tried unistalling/deleting python and redownlading making sure I allow the correct PATH. With no avail.
After getting a series of prompts from chatgpt, the error still have not been solved.
My brain is mush and I don't know how to get this solved. Please help!
