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

Package is installed but EmulatorLock('sense_emu') is false #32

Open
DarkSky7 opened this issue Jan 19, 2022 · 0 comments
Open

Package is installed but EmulatorLock('sense_emu') is false #32

DarkSky7 opened this issue Jan 19, 2022 · 0 comments

Comments

@DarkSky7
Copy link

DarkSky7 commented Jan 19, 2022

pip install sense_emu sense_hat
both say that those packages are already installed AND
sense_emu and sense_hat directories are definitely present in $PYTHON_HOME/lib/site-packages/
but... in sense_hat.py
lock = EmulatorLock('sense_emu') // line 89
if not lock.wait(1): // line 90, enables
warnings.warn(Warning('No emulator detected; spawning sense_emu_gui')) // line 91

The packages are clearly present, the code is being run from the sense_emu directory (via 'from sense_emu import SenseHat' in the source file)

Packages are installed, but the lock fails. I'm not sure what's wrong here. Suggestions?

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