Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (50.2k points)

I want to install the virtualenv with the below code:

install virtualenv 

First, I have tried with 'pip', I was getting error as command not found, so I typed

sudo apt install python-pip

then it said

E: Unable to locate package python-pip

I have even tried the below code: 

aiki@LAPTOP-886AEJJG:~$ pip

Command 'pip' not found, but can be installed with:

sudo apt install python-pip

aiki@LAPTOP-886AEJJG:~$ sudo apt install python-pip

[sudo] password for aiki:

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package python-pip

I want to use Jarvis and Mycroft on windows 10, but I need to use Ubuntu because it only works with Linux.

1 Answer

0 votes
by (108k points)

Kindly execute the below code in Ubuntu terminal:

sudo apt-get install software-properties-common

sudo apt-add-repository universe

sudo apt-get update

sudo apt-get install python-pip

If you want to know more about Python Programming, kindly refer to the course. 

Related questions

0 votes
1 answer
asked Nov 22, 2020 in Python by ashely (50.2k points)
0 votes
1 answer
asked Feb 3, 2021 in Python by blackindya (18.4k points)
0 votes
1 answer
asked Oct 18, 2019 in Web Technology by Sammy (47.6k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...