Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Cannot find activate file in Python venv in Linux

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

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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

>Solution :

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

sudo apt install python3.10-venv

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading