We tried installing wpiutil on orangepi with Ubuntu forcal server Linux, and we got the following error:
n file included from build/temp.linux-aarch64-cpython-38/gensrc/wpiutil/DataLog.cpp:5:
/tmp/pip-install-f1_8um6t/robotpy-wpiutil_0d085b8fc5a1444f9f988bd6323d18a0/wpiutil/include/wpi/DataLog.h:12:10: fatal error: span: No such file or directory
12 | #include <span>
| ^~~~~~
compilation terminated.
/tmp/pip-build-env-qkc9_k0d/overlay/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'wpiutil.src' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'wpiutil.src' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'wpiutil.src' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'wpiutil.src' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
/tmp/pip-build-env-qkc9_k0d/overlay/lib/python3.8/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'wpiutil.src.type_casters' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'wpiutil.src.type_casters' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'wpiutil.src.type_casters' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'wpiutil.src.type_casters' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for robotpy-wpiutil
Failed to build robotpy-wpiutil
ERROR: Could not build wheels for robotpy-wpiutil, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
Ă— pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[end of output]
we tried Installing the library manual using the wheel file, update and upgrade pip and other important libraries.