Accounting for non-standard python environment
- Dominant language
- Python
- Stars
- 4.7k
- Forks
- 604
- PR merge metrics
- No merged PRs in 30d
Description
Guake was not starting up. Following what seemed like similar issues (e.g. #535, #566) and experimenting w/ reinstall I discovered that Guake would run as root and not as user. As user I'd obtain the following error:
`/Canopy_64bit/User/bin/python2: No module named guake`
whereas guake would run as root because root's path to python is set at the default.
It seems like the problem was that guake automatically installed to the standard python environment.
I patched this by editing a line in
/usr/bin/guake
from
`PYTHON="/usr/bin/env python2"`
to
`PYTHON="/usr/bin/env /bin/python2"`
Setup is CentOS 7, MATE desktop, Enthought Canopy scientific distribution for python.
Hope this helps.
A.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.