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 site-packages or $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(becausesudo apt-get install pip3will not work on fresh installation)sudo apt-get -y install python3-pip(installs python too) - editedsudo pip3 install cheatcheatnot recognised as a command, whilepython3runs fine from/usr/bin/python3find locations where
cheatis found, they are:$HOME/.local/bin/cheat $HOME/.local/lib/python3.6/site-packages/cheatWhen I add any of these directories to path, I'm able to run python executables,
cheat lsworks.
Is there something I can change in the installation process so that I mustn't search for directories and add them manually to path?