I got an error when creating virtualenv with Python 3.11 interpreter.
I typed this in my terminal
python3.11 -m venv env
It returned this:
Error: Command '['/home/bambang/env/bin/python3.11', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
What's possibly missing?
sudo apt install python3.11-venv
I tried to add --without-pip flag. It doesn't return an error so far
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With