Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gixy command not found #112

Open
AB20 opened this issue Aug 9, 2020 · 3 comments
Open

gixy command not found #112

AB20 opened this issue Aug 9, 2020 · 3 comments

Comments

@AB20
Copy link

AB20 commented Aug 9, 2020

ubuntu 19.10
installed using pip - cannot run 'gixy' globally or from its dir /home/user/.local/bin
sudo makes no difference

anyone else have this issue? I

@phillbailey
Copy link

phillbailey commented Sep 1, 2020

I also had this issue installing on Ubuntu 18.04 LTS. This is happening as a result of a bug in Ubuntu's bash implementation. Ubuntu at some point added ~/.local/bin to the path in the default .profile file, but apparently there have been a number of regressions since the fix was released and so the fix is not in every Ubuntu release. Also if you upgrade from a broken version to a fixed version, your .profile file won't be overwritten with the fix. This is based on the comments in this launchpad bug.

Now to fix your problem...
The issue is that the executable's directory ~/.local/bin isn't in your path. You can add it to your path by adding the following line at the end of your .profile or .bashrc file: export PATH=$HOME/.local/bin:$PATH.

You would then need to close and reopen the terminal window, log out and back in or run source .bashrc (or source .profile, if you added it there) to apply the changes, which you can check by running which gixy. You should see the following:

$ which gixy
/home/yourusername/.local/bin/gixy

@AB20
Copy link
Author

AB20 commented Sep 4, 2020

Thanks Phill! I will be working on the server this weekend and let you know how it goes

@hongphuc5497
Copy link

Thanks, Phill! I just encountered this issue and luckily saw your answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants