使用python -m pip安装的错误路径

I tried to install a package with python3 -m pip install package but it says some of the script has been installed in /home/name/.local/bin which is not on PATH. and when I try to run them it says that Command X not found.

我现在该怎么办?更重要的是,解决此问题的更好方法是什么?谢谢。

The output of which python3 is /usr/bin/python3

The output of echo $PATH is

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

操作系统:Ubuntu 20.04

评论