gil icon indicating copy to clipboard operation
gil copied to clipboard

gil : command not found

Open DrEhsan opened this issue 5 years ago • 6 comments

after installing gil by :

pip3 install gil

when i want to run this command :

gil update

the terminal responses :

Command 'gil' not found

OS : ubuntu 20.04 LTS

DrEhsan avatar Jan 17 '21 18:01 DrEhsan

Same here for OS: Ubuntu 18.04 LTS

ThePhilomathsApprentice avatar Feb 01 '21 17:02 ThePhilomathsApprentice

Same for Ubuntu 20.04

OrkunKasapoglu avatar Mar 01 '21 09:03 OrkunKasapoglu

a bad suggestion:

# get Source code
# tar -xvpzf  gil*
# cd gil*
sudo python setup.py install

e71828 avatar Mar 22 '21 10:03 e71828

@e71828's suggestion works. @chronoxor how would you go about making the recommended fix for this (in case somebody wants to make a PR)?

arjangupta avatar May 06 '21 16:05 arjangupta

There are two possible solutions for the issue:

  1. Preferred, but requires sudo: sudo pip3 install --prefix /usr/local gil
  2. User only modifications. Might require terminal restart to get updated PATH env:
echo 'PATH="$HOME/.local/bin/:$PATH"' >> ~/.bashrc
pip3 install gil

chronoxor avatar May 06 '21 19:05 chronoxor

Both ways are acceptable, although I like the second way better. @chronoxor - I made a pull request for it (#5). Please feel free to close this issue, regardless of the PR! Thanks.

arjangupta avatar May 07 '21 22:05 arjangupta