No module named 'cereal.messaging.messaging_pyx
See original GitHub issueDescribe the bug I’m trying to run Openpilot in Carla as described here: https://github.com/commaai/openpilot/tree/master/tools/sim When I execute
PASSIVE=0 NOBOARD=1 ./manager.py
in selfdrive/
I get the following error message:
scons: building terminated because of errors.
Traceback (most recent call last):
File "./manager.py", line 135, in <module>
add_logentries_handler(cloudlog)
File "/home/tom/git/openpilot/selfdrive/swaglog.py", line 39, in add_logentries_handler
from selfdrive.logmessaged import get_le_handler
File "/home/tom/git/openpilot/selfdrive/logmessaged.py", line 4, in <module>
import cereal.messaging as messaging
File "/home/tom/git/openpilot/cereal/messaging/__init__.py", line 2, in <module>
from .messaging_pyx import Context, Poller, SubSocket, PubSocket # pylint: disable=no-name-in-module, import-error
ModuleNotFoundError: No module named 'cereal.messaging.messaging_pyx'
Any idea what the issue could be?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
cereal package — openpilot docs 0.8.17 documentation
Submodules · cereal.messaging.demo module · cereal.messaging.messaging_pyx module · Context · Context.term() · MessagingError · MultiplePublishersError · Poller.
Read more >ModuleNotFoundError: No module named 'cereal'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'cereal' How to remove the ModuleNotFo.
Read more >How to fix "ModuleNotFoundError: No module named 'cereal'"
You must first install the package before you can use it in your code. Run the following command to install the package and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Scons failed building. What do you get if run
scons -j4
manually in the openpilot folder?https://github.com/commaai/openpilot/commit/60f6e12debe7ed5f53076f3f1ab43fbd150d7087 should fix the confusing error. You still have an underlying build issue though.
@tom-doerr I assume setting the path fixed your issue. Closing this.