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

Xubuntu 18.04: no mech executable in PATH after pip install -U mech #38

Open
jal2 opened this issue Jul 2, 2018 · 1 comment
Open

Comments

@jal2
Copy link

jal2 commented Jul 2, 2018

Hi,
I've installed python-pip on a rather clean Xubuntu 18.04 and run
pip install -U mech
afterwards. No errors.
Opened a new terminal, but there is no mech executable in the search path.

I'm a python newbie, is pip install able to install anything in $PATH?
Can I call mech in some other way?

EDIT: Found the mech exec in ~/.local/bin, added it to $PATH and I can execute it now.
I guess this is more an Ubuntu problem. See https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1588562 . As the fix for this is in $HOME/.profile, it is not enough to open a second terminal (non-login shell) to re-read .profile. Nor is a logout/login with the display manager. I had to reboot the machine.

@jal2 jal2 closed this as completed Jul 2, 2018
@jal2
Copy link
Author

jal2 commented Jul 2, 2018

Re-opening this issue with a request for better documentation - at least with Xubuntu 18.04
after running pip install ..., the mech command is available only after the next reboot - if there was no directory ~/.local/bin before.

@jal2 jal2 reopened this Jul 2, 2018
@jal2 jal2 changed the title Xubuntu 18.04: no mech executable in PATH after pip install -U mech Xubuntu 18.04: no mech executable in PATH after pip install -U mech Jul 2, 2018
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

1 participant