first i got an error due to pip version so i updated my pip to latest version 19, after that again i got some error like "cannot import name main" to fix this i uninstall my pip and then reinstall it. now it is showing "The program 'pip3' is currently not installed. You can install it by typing: sudo apt install python3-pip" so what can i do to fix this, thank you in advance
I tried "sudo apt install python3-pip" which show
"Reading package lists... Done Building dependency tree Reading state information... Done python3-pip is already the newest version (8.1.1-2ubuntu0.4). 0 upgraded, 0 newly installed, 0 to remove and 677 not upgraded"
and when i tried to install package it shows
The program 'pip3' is currently not installed. You can install it by typing: sudo apt install python3-pip"
umair@ubuntu:~$ which pip /usr/bin/pip umair@ubuntu:~$ which pip3 umair@ubuntu:~$ pip3 install scipy The program 'pip3' is currently not installed. You can install it by typing: sudo apt install python3-pip umair@ubuntu:~$ cd Desktop/ umair@ubuntu:~/Desktop$ cd classification-master/ umair@ubuntu:~/Desktop/classification-master$ sudo apt install python3-pip Reading package lists... Done Building dependency tree Reading state information... Done python3-pip is already the newest version (8.1.1-2ubuntu0.4). 0 upgraded, 0 newly installed, 0 to remove and 677 not upgraded. umair@ubuntu:~/Desktop/classification-master$ pip3 install scipyThe program 'pip3' is currently not installed. You can install it by typing: sudo apt install python3-pip umair@ubuntu:~/Desktop/classification-master$ which pip3 umair@ubuntu:~/Desktop/classification-master$ type pip3 bash: type: pip3: not found umair@ubuntu:~/Desktop/classification-master$
umair@ubuntu:~/Desktop/classification$ pip3 --version The program 'pip3' is currently not installed. You can install it by typing: sudo apt install python3-pip
which pip
instead of pip3, what do you get? Also,pip --version
does anything? – alphazeta{}
), which will indent it by four spaces, keeping line breaks etc. intact – FlyingTellerPATH
somehow? Could you checkecho $PATH
? – FlyingTeller