Guake / Guake/guake

Accounting for non-standard python environment

Open
#760 6 comments 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.