Unable to install psutil package unless an SETUPTOOLS_USE_DISTUTILS=stdlib environment variable is set on raspberry pi and debian 11.8
Adding the following to the satnogs_setup ansible task helped move things forward based on [1]
- name: Install PyPI dependencies
environment:
SETUPTOOLS_USE_DISTUTILS: stdlib
Not sure if this is a one off issue that will eventually get resolved [2] people seem to be working around it in other projects.
[1] https://stackoverflow.com/questions/36296134/attributeerror-install-layout-when-attempting-to-install-a-package-in-a-virtual [2] https://github.com/pypa/setuptools/issues/3278