-
Notifications
You must be signed in to change notification settings - Fork 600
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
RuntimeError: Failed to add edge detection #336
Comments
I have done some more work with it, and it seems like if I install the dependances with poetry, I have to run the demo as sudo for it to work: Is this expected behavior, or is there something I should tweak to allow me to avoid running this as sudo? I have noticed that the guide does not show running the python demo as sudo, which seems to imply that is not intended behavior? |
Hello @Coastline-3102. I'm trying to do the same, with the same screen but using a Zero 2W. And I get the very same error. Did you get it to work? |
@Hantoniorl in my case, running the script with If you are using pip (as they do in the manual) I believe the command would be Hope that helps! |
@Coastline-3102 Thanks! I was using sudo, but I think I messed up installing many other tests and stuff. So I'm going to try again from scratch. |
I use the example code for testing is all right, you use the latest example code to see |
Hey! I ran into the same error with both the pip waveshare-epaper package and the examples version on Raspberry Pi Zero. After not being able to install lgpio in my virtual environment, I finally tried running the example code with system python and it worked. No sudo required. Venv SolutionI compared system and venv
You could also add Poetry Solution (maybe)Just looked it up, there is a similar setting for poetry, which could be enabled by
I haven't tried that, but the case seems very similar. |
Hello,
I am using a RPI 4, with this display. Following the instructions here I have been trying to get the demo to work. The c demo works without issue, but whenever I run the python demo,
epd_7in5_V2_test.py
I get an error which reads:Any ideas how to fix this?
The text was updated successfully, but these errors were encountered: