1

I am trying to install venv but getting this error:

name@malikov:~/Desktop/informtech$ python3 -m venv venv Error: Command '['/home/name/Desktop/informtech/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

venv folder created but there is no activate file to activate venv enter image description here

What should I do. Is there any solution. All problems started after upgrading python version from 3.8 to 3.10strong text

1 Answer 1

1

You can try installing venv for python3.10 via command:

sudo apt install python3.10-venv

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.