Abdusamad
Abdusamad

Reputation: 67

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

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

Upvotes: 1

Views: 1293

Answers (1)

Shukrullo Turgunov
Shukrullo Turgunov

Reputation: 26

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

sudo apt install python3.10-venv

Upvotes: 1

Related Questions