You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
when i try to add pyamdgpuinfo, I am getting a error 'xf86drm.h' file not found
To Reproduce
Steps to reproduce the behavior:
Run python3 -m pip install pyamdgpuinfo
See error
Environment:
Smart screen model: Turing 3.5"
Revision of this project: 3.9.2
OS with version: MacOS 13.7
Python version: 3.12.7
Hardware [Intel CPU core i7 8700, AMD Radeon Pro WX 4100 4 GB]
Screenshots / photos of the Turing screen
python3 -m pip install pyamdgpuinfo
Collecting pyamdgpuinfo
Using cached pyamdgpuinfo-2.1.6.tar.gz (21 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyamdgpuinfo
Building wheel for pyamdgpuinfo (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyamdgpuinfo (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
/private/var/folders/14/6qcc7jl95h9dkqcg2hz09_dr0000gn/T/pip-build-env-pw389bel/overlay/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.********************************************************************************!!self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib.macosx-10.13-universal2-cpython-312/pyamdgpuinfo
copying pyamdgpuinfo/__init__.py -> build/lib.macosx-10.13-universal2-cpython-312/pyamdgpuinfo
running build_ext
building 'pyamdgpuinfo._pyamdgpuinfo' extension
creating build/temp.macosx-10.13-universal2-cpython-312/pyamdgpuinfo
clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -arch arm64 -arch x86_64 -g -I/usr/local/opt/ruby/include -I/usr/include/libdrm -I/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c pyamdgpuinfo/_pyamdgpuinfo.c -o build/temp.macosx-10.13-universal2-cpython-312/pyamdgpuinfo/_pyamdgpuinfo.o
pyamdgpuinfo/_pyamdgpuinfo.c:1241:10: fatal error: 'xf86drm.h' file not found
#include "xf86drm.h"
^~~~~~~~~~~
1 error generated.
error: command'/usr/bin/clang' 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 pyamdgpuinfo
Failed to build pyamdgpuinfo
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyamdgpuinfo)
The text was updated successfully, but these errors were encountered:
pyamdgpuinfo~=2.1.6; sys_platform=="linux" and python_version <= "3.12"
There was a mistake in the documentation, I fixed it.
For now I didn't find a Python library to get AMD GPU info on MacOS platforms. If you find one please let me know and I will try to integrate it to this project.
Hello @mathoudebine
Instead of leaving it blank, have you considered using system_profiler to display some basic information as a substitute for macOS and AMD?
Describe the bug
when i try to add pyamdgpuinfo, I am getting a error
'xf86drm.h' file not found
To Reproduce
Steps to reproduce the behavior:
Run python3 -m pip install pyamdgpuinfo
See error
Environment:
Screenshots / photos of the Turing screen
The text was updated successfully, but these errors were encountered: