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

ethos-u-vela: Fix runtime dependencies #75

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

tq-steina
Copy link
Contributor

vela imports pkg_resources module, so this needs to added to RDEPENDS.

See https://github.com/nxp-imx/ethos-u-vela/blob/lf-6.1.1_1.0.0/ethosu/vela/_version.py#L16 for the actual import.
Fixes the error backtrace:

root@tqma93xxla-mba93xxla:/usr/lib/python3.10# vela
Traceback (most recent call last):
  File "/usr/bin/vela", line 5, in <module>
    from ethosu.vela.vela import main
  File "/usr/lib/python3.10/site-packages/ethosu/vela/__init__.py", line 16, in <module>
    from ._version import __version__
  File "/usr/lib/python3.10/site-packages/ethosu/vela/_version.py", line 16, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

vela imports pkg_resources module, so this needs to added to RDEPENDS.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
@otavio otavio merged commit d55c052 into Freescale:master Sep 26, 2024
@tq-steina tq-steina deleted the vela-fix branch September 26, 2024 13:48
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

Successfully merging this pull request may close these issues.

2 participants