./dev_setup.sh doesn't work on RPi 5

Hey, all, I’m trying to use mycroft for a project on my rpi 5. However, I am having a big issue. Whenever I try to run ./dev_setup.sh or install requirements from requirements.txt, this is the output:

ERROR: Command errored out with exit status 1:
command: /home/jarvis/mycroft-core/.venv/bin/python3 /home/jarvis/mycroft-core/.venv/lib/python3.11/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpvwpw5ftc
cwd: /tmp/pip-install-_2_ppzo3/pyyaml
Complete output (54 lines):
running egg_info
writing lib3/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib3/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
File “/home/jarvis/mycroft-core/.venv/lib/python3.11/site-packages/pip/_vendor/pep517/_in_process.py”, line 257, in
main()
File “/home/jarvis/mycroft-core/.venv/lib/python3.11/site-packages/pip/_vendor/pep517/_in_process.py”, line 240, in main
json_out[‘return_val’] = hook(**hook_input[‘kwargs’])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/jarvis/mycroft-core/.venv/lib/python3.11/site-packages/pip/_vendor/pep517/_in_process.py”, line 91, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 297, in _get_build_requires
self.run_setup()
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 313, in run_setup
exec(code, locals())
File “”, line 271, in
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/init.py”, line 108, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py”, line 184, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py”, line 200, in run_commands
dist.run_commands()
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py”, line 970, in run_commands
self.run_command(cmd)
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/dist.py”, line 945, in run_command
super().run_command(command)
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py”, line 989, in run_command
cmd_obj.run()
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py”, line 310, in run
self.find_sources()
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py”, line 318, in find_sources
mm.run()
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py”, line 539, in run
self.add_defaults()
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py”, line 577, in add_defaults
sdist.add_defaults(self)
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py”, line 102, in add_defaults
super().add_defaults()
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py”, line 250, in add_defaults
self._add_defaults_ext()
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py”, line 335, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 201, in get_source_files
File “/tmp/pip-build-env-0he16zxd/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py”, line 107, in getattr
raise AttributeError(attr)
AttributeError: cython_sources

ERROR: Command errored out with exit status 1: /home/jarvis/mycroft-core/.venv/bin/python3 /home/jarvis/mycroft-core/.venv/lib/python3.11/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpvwpw5ftc Check the logs for full command output.

I’ven tried reinstalling cython, using a virtual environment, using root, and using standard user. I always run into this issue. Any help would be creatly appreciated. Thanks

Hi! Mycroft has been dead for a while now. Try this out, it should have better Pi 5 support: [HOWTO] Begin your Open Voice OS journey with the ovos-installer 💖 😍

2 Likes