I installed python 3 and
pip3 into in Windows System for Linux shell that uses Ubuntu, but it appears I have to find and specify
$HOME/.local/bin directory manually if I want to run any python package executables.
The package I want to use is cheat, but the problem is the same for any other package.
My chain of commands was:
- install WSL - Ubuntu 18.04
sudo apt-get update(because
sudo apt-get install pip3will not work on fresh installation)
sudo apt-get -y install python3-pip(installs python too) - edited
sudo pip3 install cheat
cheatnot recognised as a command, while
python3runs fine from
find locations where
cheatis found, they are:
When I add any of these directories to path, I'm able to run python executables,
Is there something I can change in the installation process so that I mustn't search for directories and add them manually to path?