Had an error while following the instructions for "AMD GPUs under Linux"
I'm trying to get the voice changer working on Linux, but I'm working with an NVIDIA GPU, and I can't find any instructions specific for Linux asides from this one so I tried to just follow it anyway. I know it won't be the same, but I'm not knowledgeable enough with working with Linux just yet that I can make it work without at least some guide to follow.
When I tried installing PyTorch, I got this line
ERROR: torch-2.0.1+rocm5.7-cp310-cp310-linux_x86_64.whl is not a supported wheel on this platform.
And trying the next step, installing the requirements, gave me this error.
ERROR: Exception:
Traceback (most recent call last):
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/cli/base_command.py", line 109, in _run_wrapper
status = _inner_run()
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/cli/base_command.py", line 102, in _inner_run
return self.run(options, args)
~~~~~~~~^^^^^^^^^^^^^^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/cli/req_command.py", line 106, in wrapper
return func(self, options, args)
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/commands/install.py", line 478, in run
requirement_set = resolver.resolve(
reqs, check_supported_wheels=not options.target_dir
)
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 103, in resolve
result = self._result = resolver.resolve(
~~~~~~~~~~~~~~~~^
collected.requirements, max_rounds=limit_how_complex_resolution_can_be
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 601, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 434, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 150, in _add_to_criteria
if not criterion.candidates:
^^^^^^^^^^^^^^^^^^^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__
return bool(self._sequence)
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 165, in __bool__
self._bool = any(self)
~~~^^^^^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 149, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
^^^^^^^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 39, in _iter_built
candidate = func()
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 181, in _make_candidate_from_link
base: BaseCandidate | None = self._make_base_candidate_from_link(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
link, template, name, version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 227, in _make_base_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
~~~~~~~~~~~~~^
link,
^^^^^
...<3 lines>...
version=version,
^^^^^^^^^^^^^^^^
)
^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 325, in __init__
super().__init__(
~~~~~~~~~~~~~~~~^
link=link,
^^^^^^^^^^
...<4 lines>...
version=version,
^^^^^^^^^^^^^^^^
)
^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 167, in __init__
self.dist = self._prepare()
~~~~~~~~~~~~~^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 245, in _prepare
dist = self._prepare_distribution()
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 336, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/operations/prepare.py", line 664, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/operations/prepare.py", line 783, in _prepare_linked_requirement
dist = _get_prepared_distribution(
req,
...<4 lines>...
self.allow_editables,
)
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/operations/prepare.py", line 82, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
build_env_installer, build_isolation, check_build_deps, allow_editables
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/distributions/sdist.py", line 63, in prepare_distribution_metadata
self._install_build_reqs(
~~~~~~~~~~~~~~~~~~~~~~~~^
build_env_installer, build_isolation, allow_editables=allow_editables
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/distributions/sdist.py", line 159, in _install_build_reqs
build_reqs = self._get_build_requires_wheel()
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/distributions/sdist.py", line 131, in _get_build_requires_wheel
return backend.get_requires_for_build_wheel()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_internal/utils/misc.py", line 734, in get_requires_for_build_wheel
return super().get_requires_for_build_wheel(config_settings=cs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 196, in get_requires_for_build_wheel
return self._call_hook(
~~~~~~~~~~~~~~~^
"get_requires_for_build_wheel", {"config_settings": config_settings}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/XXXX/Utility/anaconda3/envs/voicechanger/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 402, in _call_hook
raise BackendUnavailable(
...<4 lines>...
)
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'Can anyone help me understand what's going on, or, ideally, point me to a guide/instructions specifically for Linux/NVIDIA rather than Linux/AMD (assuming that's what's causing this).
Thank you so much in advance.
Source: w-okada/voice-changer