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

Pip dependencies error while running Zephyr Emulator tutorial #132

Open
arnixrobotix opened this issue Dec 13, 2023 · 2 comments
Open

Pip dependencies error while running Zephyr Emulator tutorial #132

arnixrobotix opened this issue Dec 13, 2023 · 2 comments

Comments

@arnixrobotix
Copy link

arnixrobotix commented Dec 13, 2023

I am trying to run the Zephyr emulator tutorial in a VS code's dev container using a ros:humble image.

Steps to reproduce the issue

I cloned the Micro-ROS setup repo and launched the dev container which is running rosdep and building the initial workspace.

Expected behavior

Create step is effectively creating the firmware folder.

Actual behavior

The create step yields the following error (when running pip install --force-reinstall Sphinx==4.2.0 ):

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
sphinx-tabs 3.2.0 requires docutils~=0.16.0, but you have docutils 0.17.1 which is incompatible.
sphinx-rtd-theme 0.5.2 requires docutils<0.17, but you have docutils 0.17.1 which is incompatible.

Additional information

It looks like the conflicts are coming from firmware/zephyrproject/zephyr/scripts/requirements-doc.txt where specified sphinx version is 3.*

@pablogs9
Copy link
Member

Are you able to run the emulator using this Zephyr component?

@arnixrobotix
Copy link
Author

I managed to downgrade manually the version of docutils.
However it seems I can't start the emulator:

arnix@faye:/home/workspace$ ros2 run micro_ros_setup flash_firmware.sh
Flashing firmware for zephyr platform host
WARNING: Using a test - not safe - entropy source
*** Booting Zephyr OS build zephyr-v2.6.0  ***
Failed status on line 98: 1. Aborting.

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