python2有easy_install 但是却无法使用是怎么回事?

按照该连接操作:https://blog.csdn.net/qq_40678222/article/details/82734870

hellopython@ubuntu:~$ easy_install --version
setuptools 41.6.0 from /home/hellopython/.local/lib/python2.7/site-packages (Python 2.7)
hellopython@ubuntu:~$ sudo easy_install virtualenvwrapper
sudo: easy_install: command not found
hellopython@ubuntu:~$ cd /home/hellopython/.local/lib/python2.7/site-packages 
hellopython@ubuntu:~/.local/lib/python2.7/site-packages$ ls

decorator-4.4.1.dist-info                       retry
decorator.py                                    retry-0.9.2.dist-info
decorator.pyc                                   scrapy
easy_install.py                                 Scrapy-1.8.0.dist-info
easy_install.pyc                                selenium


请问这是为什么?python2里有easy_install.py ,但是却无法使用,是因为默认用python3解释器吗?怎么临时指定python2来执行呢?(不要长期)

你试试 :
python2 -m easy_install ................

你这个没有指定路径,用的是你加入环境变量的python。你可以指定路径去执行。比如这个:~/anaconda3/bin/pip install

https://www.jb51.net/article/137648.htm