1.which pip
2.pip
这一步这里可能会报错,没关系,继续。
3.type pip
4.hash -r
明细
(base) bogon:~ $ which pip
(base) bogon:~ $ pip
-bash: /Users//opt/anaconda3/bin/pip: No such file or directory
(base) bogon:~ $ type pip
pip is hashed (/Users//opt/anaconda3/bin/pip)
(base) bogon:~ $ hash -r
(base) bogon:~ $ pip3 install gridworld
Collecting gridworld