I installed python 3 and
pip into in Windows System for Linux shell, but it appears I have to find and specify
site-packages directory manually if I want to run any python package executables. The packages I wanted to use were cheat and awscli, but the problem is the same for any 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 install pip3(installs python too)
sudo pip3 install cheat
cheatnot recognised as a command, while
python3runs fine from
$HOME/.local/lib/python3.6/site-packagesmust be on path
$HOME/.local/lib/python3.6/site-packagesto path with
I there something I can change in the installation process so that I mustn't search for
site-packages directory and add it to path manually?
UPDATE: proper call executed for pip was
sudo pip3 install cheat. there is no plain
pip on the system. calling
pip results in error Command 'pip' not found.