Package Details: python-nvidia-ml-py 12.560.30-1

Git Clone URL: https://aur.archlinux.org/python-nvidia-ml-py.git (read-only, click to copy)
Package Base: python-nvidia-ml-py
Description: Python Bindings for the NVIDIA Management Library
Upstream URL: https://pypi.org/project/nvidia-ml-py
Licenses: BSD-3-Clause
Submitter: hottea
Maintainer: hottea (lilac)
Last Packager: lilac
Votes: 3
Popularity: 0.68
First Submitted: 2022-10-11 15:01 (UTC)
Last Updated: 2024-08-14 23:04 (UTC)

Latest Comments

JohnPiers commented on 2024-08-19 15:34 (UTC)

@hottea Thanks, I'll give a bash. Cheers.

hottea commented on 2024-08-19 12:59 (UTC)

@JohnPiers try to build it in a clean chroot as described here, run this command: extra-x86_64-build. It works ok for me.

JohnPiers commented on 2024-08-19 10:02 (UTC) (edited on 2024-08-24 19:22 (UTC) by JohnPiers)

Get this when trying to update or build the package python-nvidia-ml-py 12.560.30-1 Perhaps someone here can advise, thank you.

==> Starting build()... * Getting build dependencies for wheel... Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/pyproject_hooks/in_process/_in_process.py", line 373, in <module> main() File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main json_out["return_val"] = hook(hook_input["kwargs"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 134, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires self.run_setup() File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 487, in run_setup super().run_setup(setup_script=setup_script) File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "<string>", line 44, in <module> File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 146, in setup _setup_distribution = dist = klass(attrs) ^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 301, in init for ep in metadata.entry_points(group='distutils.setup_keywords'): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/metadata/init.py", line 913, in entry_points return EntryPoints(eps).select(params) ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/metadata/init.py", line 910, in <genexpr> eps = itertools.chain.from_iterable( ^ File "/usr/lib/python3.12/importlib/metadata/_itertools.py", line 16, in unique_everseen k = key(element) ^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/metadata/init.py", line 835, in _normalized_name or super()._normalized_name ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/metadata/init.py", line 462, in _normalized_name return Prepared.normalize(self.name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/metadata/init.py", line 762, in normalize return re.sub(r"[-.]+", "-", name).lower().replace('-', '_') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/re/init.py", line 186, in sub return _compile(pattern, flags).sub(repl, string, count) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: expected string or bytes-like object, got 'NoneType'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel ==> ERROR: A failure occurred in build(). Aborting... -> error making: python-nvidia-ml-py-exit status 4 -> Failed to install the following packages. Manual intervention is required: python-nvidia-ml-py - exit status 4

denkijin commented on 2024-05-01 10:15 (UTC)

This should be updated, it conflicts with python-pynvml (which is an older, deprecated PKGBUILD).