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

Docker Build Fails with No module named 'msgq.ipc_pyx' for openpilot v0.9.7 #34923

Open
jeffxhsiao opened this issue Mar 22, 2025 · 1 comment
Labels
PC Issues related to running openpilot on PC

Comments

@jeffxhsiao
Copy link

jeffxhsiao commented Mar 22, 2025

Describe the bug

I downloaded openpilot v0.9.7 and attempted to install it in a Docker environment using the command:
docker build -t openpilot:0.9.7 -f Dockerfile.openpilot .

However, during the Docker build step RUN scons --cache-readonly -j$(nproc), I consistently encounter the following error:

In file included from selfdrive/navd/moc_map_renderer.cc:1:
./selfdrive/navd/map_renderer.h:9:10: fatal error: 'QGeoCoordinate' file not found
9 | #include <QGeoCoordinate>
   |          ^~~~~~~~~~~~~~~~

Image
Image
Could someone please advise on how to resolve this issue or suggest the correct way to install openpilot v0.9.7 within Docker?
Very Thankful.

OS Version

Ubuntu 22.04

openpilot version or commit

openpilot v0.9.7

Additional info

No response

@jeffxhsiao jeffxhsiao added the PC Issues related to running openpilot on PC label Mar 22, 2025
@jeffxhsiao
Copy link
Author

I have already resolved the above 'QGeoCoordinate' Not Found Error, but now I've encountered a new Dockerfile installation error:

8.892 Traceback (most recent call last):
8.892   File "/home/batman/openpilot/selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py", line 11, in <module>
8.893     from openpilot.selfdrive.car.interfaces import ACCEL_MIN
8.893   File "/home/batman/openpilot/openpilot/selfdrive/car/interfaces.py", line 20, in <module>
8.893     from openpilot.selfdrive.controls.lib.events import Events
8.893   File "/home/batman/openpilot/openpilot/selfdrive/controls/lib/events.py", line 9, in <module>
8.893     import cereal.messaging as messaging
8.893   File "/home/batman/openpilot/cereal/messaging/__init__.py", line 2, in <module>
8.893     from msgq.ipc_pyx import Context, Poller, SubSocket, PubSocket, SocketEventHandle, toggle_fake_events, \
8.893   File "/home/batman/openpilot/msgq/__init__.py", line 2, in <module>
8.893     from msgq.ipc_pyx import Context, Poller, SubSocket, PubSocket, SocketEventHandle, toggle_fake_events, \
8.893 ModuleNotFoundError: No module named 'msgq.ipc_pyx'
8.929 scons: *** [selfdrive/controls/lib/longitudinal_mpc_lib/c_generated_code/Makefile] Error 1

Image

@jeffxhsiao jeffxhsiao changed the title Docker Build Fails with 'QGeoCoordinate' Not Found Error for openpilot v0.9.7 Docker Build Fails with No module named 'msgq.ipc_pyx' for openpilot v0.9.7 Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PC Issues related to running openpilot on PC
Projects
None yet
Development

No branches or pull requests

1 participant