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

No module named PyQt5 -- raspbian #38

Open
gamselem opened this issue Nov 25, 2021 · 1 comment
Open

No module named PyQt5 -- raspbian #38

gamselem opened this issue Nov 25, 2021 · 1 comment

Comments

@gamselem
Copy link

Hello,

I'm trying to run the raspbian executable (poseidon_main_v0.5.0_raspbian_executable_2018-08-29) on my raspberry pi. When I double click it, nothing happens. When I execute it through the command line, I get the following error:

File "/home/pi/Desktop/poseidon_main.py", line 13, in <module>
ImportError: No module named PyQt5 
[1542] Failed to execute script poseidon_main

I've done sudo apt-get install python3-pyqt5 but that doesn't solve the problem. Is there something else I should do? I have Raspbian buster installed on my Pi.

Thanks.

@jsdearbo
Copy link

Hm. I was able to rectify this same issue with the sudo apt-get script you show above. Are you specifying python3 when you call poseidon_main.py?
for example: python3 poseidon_main.py

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

2 participants