About the pip problem of ubuntu python2 3!

< H1 > problems I have encountered < / H1 >
wevsmy@ubuntu:~$ python -m pip -V
pip 10.0.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
wevsmy@ubuntu:~$ python3 -m pip -V
pip 10.0.1 from /usr/local/lib/python3.5/dist-packages/pip (python 3.5)

this shows that there is no problem with the pip of python2 3;
but the following problems arise when using pip directly:

wevsmy@ubuntu:~$ pip -V
bash: /home/wevsmy/.local/bin/pip: 
wevsmy@ubuntu:~$ pip3 -V
bash: /home/wevsmy/.local/bin/pip3: 

I have baidu and know that Python does not have a soft connection in the / home/wevsmy/.local/bin/ directory. (seems to be so) but I can"t find a solution

wevsmy@ubuntu:~$ cd /home/wevsmy/.local/bin/
wevsmy@ubuntu:~/.local/bin$ ll
 8
drwxrwxr-x 2 wevsmy wevsmy 4096 5   4 17:42 ./
drwxrwxr-x 6 wevsmy wevsmy 4096 5   4 17:42 ../
wevsmy@ubuntu:~/.local/bin$ cd ..
wevsmy@ubuntu:~/.local$ ll
 24
drwxrwxr-x  6 wevsmy wevsmy 4096 5   4 17:42 ./
drwxrwxr-x 28 wevsmy sudo   4096 5   4 17:37 ../
drwxrwxr-x  2 wevsmy wevsmy 4096 5   4 17:42 bin/
drwxrwxr-x  3 wevsmy wevsmy 4096 10 18  2017 include/
drwxrwxr-x  3 wevsmy wevsmy 4096 5   4 17:37 lib/
drwxrwxr-x 23 wevsmy wevsmy 4096 5   4 17:37 share/
wevsmy@ubuntu:~/.local$ 

is it because my baidu is in the wrong position? try google?

later. < H1 > Please give us some advice < / H1 >
Mar.09,2021

because you upgraded pip 10. It's normal to change back to 9. Personal test

and you should also be able to set the environment variable. The 10.0.1 currently used should be the problem of the environment variable

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38276-2c0d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38276-2c0d2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?