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.
What should I do now? and more important, what is the better way to solve this? thanks.
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
OS: Ubuntu 20.04