Vali-98 / XTTS-RVC-UI

A Gradio UI for XTTSv2 and RVC.
MIT License
142 stars 50 forks source link

ModuleNotFoundError: No module named 'distutils'/ Getting requirements to build wheel did not run successfully. #19

Closed heartgold512 closed 3 months ago

heartgold512 commented 3 months ago

I have a few issues, this is shared across XTTS and other TTS iv'e ran on cmd for requirements. I havn't cracked at it for a long time yet but i'd much appreciate help and or guidance my knowledge of this stuff isn't great. I'd try no virtual environment and virtual just in case. I tried following the instructions very closely but i feel like i'm missing something.

C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI>pip install -r requirements.txt Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Collecting fairseq==0.12.2 (from -r requirements.txt (line 1)) Downloading fairseq-0.12.2.tar.gz (9.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 16.6 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting faiss_cpu==1.7.4 (from -r requirements.txt (line 2)) Downloading faiss-cpu-1.7.4.tar.gz (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.4/57.4 kB ? eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting gradio==4.7.1 (from -r requirements.txt (line 3)) Downloading gradio-4.7.1-py3-none-any.whl.metadata (17 kB) Collecting librosa==0.10.0 (from -r requirements.txt (line 4)) Downloading librosa-0.10.0-py3-none-any.whl.metadata (8.3 kB) Collecting numpy==1.22.0 (from -r requirements.txt (line 5)) Downloading numpy-1.22.0.zip (11.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 15.2 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done ERROR: Exception: Traceback (most recent call last): File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\cli\base_command.py", line 179, in exc_logging_wrapper status = run_func(*args) ^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\cli\req_command.py", line 67, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\commands\install.py", line 377, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 95, in resolve result = self._result = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_vendor\resolvelib\resolvers.py", line 546, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_vendor\resolvelib\resolvers.py", line 397, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_vendor\resolvelib\structs.py", line 156, in bool return bool(self._sequence) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 174, in bool return any(self) ^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 162, in return (c for c in iterator if id(c) not in self._incompatible_ids) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 53, in _iter_built candidate = func() ^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\factory.py", line 185, in _make_candidate_from_link base: Optional[BaseCandidate] = self._make_base_candidate_from_link( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\factory.py", line 231, in _make_base_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( ^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 303, in init super().init( File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 158, in init self.dist = self._prepare() ^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 235, in _prepare dist = self._prepare_distribution() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 314, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\operations\prepare.py", line 527, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\operations\prepare.py", line 642, in _prepare_linked_requirement dist = _get_prepared_distribution( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\operations\prepare.py", line 72, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata( File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\distributions\sdist.py", line 56, in prepare_distribution_metadata self._install_build_reqs(finder) File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\distributions\sdist.py", line 126, in _install_build_reqs build_reqs = self._get_build_requires_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\distributions\sdist.py", line 103, in _get_build_requires_wheel return backend.get_requires_for_build_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_internal\utils\misc.py", line 709, in get_requires_for_build_wheel return super().get_requires_for_build_wheel(config_settings=cs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_vendor\pyproject_hooks_impl.py", line 166, in get_requires_for_build_wheel return self._call_hook('get_requires_for_build_wheel', { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_vendor\pyproject_hooks_impl.py", line 321, in _call_hook raise BackendUnavailable(data.get('traceback', '')) pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last): File "C:\Users\Bradley\AppData\Roaming\Python\Python312\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 77, in _build_backend obj = import_module(mod_path) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Lib\importlib__init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1310, in _find_and_load_unlocked File "", line 488, in _call_with_frames_removed File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "C:\Users\Bradley\AppData\Local\Temp\pip-build-env-ocr45sok\overlay\Lib\site-packages\setuptools\init__.py", line 10, in import distutils.core ModuleNotFoundError: No module named 'distutils'

C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI>python -m venv myenv //here i now test with virtual environment

C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI>myenv\Scripts\activate

(myenv) C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI>pip install -r requirements.txt //now tried running reqs in virtual env Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Collecting fairseq==0.12.2 (from -r requirements.txt (line 1)) Downloading fairseq-0.12.2.tar.gz (9.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 14.3 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting faiss_cpu==1.7.4 (from -r requirements.txt (line 2)) Downloading faiss-cpu-1.7.4.tar.gz (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.4/57.4 kB ? eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting gradio==4.7.1 (from -r requirements.txt (line 3)) Downloading gradio-4.7.1-py3-none-any.whl.metadata (17 kB) Collecting librosa==0.10.0 (from -r requirements.txt (line 4)) Downloading librosa-0.10.0-py3-none-any.whl.metadata (8.3 kB) Collecting numpy==1.22.0 (from -r requirements.txt (line 5)) Downloading numpy-1.22.0.zip (11.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 16.0 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done ERROR: Exception: Traceback (most recent call last): File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\cli\base_command.py", line 180, in exc_logging_wrapper status = run_func(*args) ^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\cli\req_command.py", line 245, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\commands\install.py", line 377, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\resolver.py", line 95, in resolve result = self._result = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 546, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 397, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\resolvelib\structs.py", line 156, in bool return bool(self._sequence) ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 155, in bool return any(self) ^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 143, in return (c for c in iterator if id(c) not in self._incompatible_ids) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built candidate = func() ^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 182, in _make_candidate_from_link base: Optional[BaseCandidate] = self._make_base_candidate_from_link( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\factory.py", line 228, in _make_base_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( ^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 290, in init super().init( File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 156, in init self.dist = self._prepare() ^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 222, in _prepare dist = self._prepare_distribution() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\resolution\resolvelib\candidates.py", line 301, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\operations\prepare.py", line 525, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\operations\prepare.py", line 640, in _prepare_linked_requirement dist = _get_prepared_distribution( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\operations\prepare.py", line 71, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata( File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\distributions\sdist.py", line 54, in prepare_distribution_metadata self._install_build_reqs(finder) File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\distributions\sdist.py", line 124, in _install_build_reqs build_reqs = self._get_build_requires_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\distributions\sdist.py", line 101, in _get_build_requires_wheel return backend.get_requires_for_build_wheel() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_internal\utils\misc.py", line 745, in get_requires_for_build_wheel return super().get_requires_for_build_wheel(config_settings=cs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 166, in get_requires_for_build_wheel return self._call_hook('get_requires_for_build_wheel', { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\pyproject_hooks_impl.py", line 321, in _call_hook raise BackendUnavailable(data.get('traceback', '')) pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last): File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 77, in _build_backend obj = import_module(mod_path) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Lib\importlib__init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1310, in _find_and_load_unlocked File "", line 488, in _call_with_frames_removed File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "C:\Users\Bradley\AppData\Local\Temp\pip-build-env-2uu2ojo1\overlay\Lib\site-packages\setuptools\init__.py", line 10, in import distutils.core ModuleNotFoundError: No module named 'distutils'

[notice] A new release of pip is available: 24.0 -> 24.1.2 [notice] To update, run: python.exe -m pip install --upgrade pip

(myenv) C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI>pip install setuptools //gave up and installed setup tools dependency since distutlis is apparently not in newer python? (i didnt know this) Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Collecting setuptools Downloading setuptools-71.0.4-py3-none-any.whl.metadata (6.5 kB) Downloading setuptools-71.0.4-py3-none-any.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 10.0 MB/s eta 0:00:00 Installing collected packages: setuptools Successfully installed setuptools-71.0.4

[notice] A new release of pip is available: 24.0 -> 24.1.2 [notice] To update, run: python.exe -m pip install --upgrade pip

(myenv) C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI>pip install -r requirements.txt Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com Collecting fairseq==0.12.2 (from -r requirements.txt (line 1)) Downloading fairseq-0.12.2.tar.gz (9.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 14.3 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting faiss_cpu==1.7.4 (from -r requirements.txt (line 2)) Downloading faiss-cpu-1.7.4.tar.gz (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.4/57.4 kB ? eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting gradio==4.7.1 (from -r requirements.txt (line 3)) Downloading gradio-4.7.1-py3-none-any.whl.metadata (17 kB) Collecting librosa==0.10.0 (from -r requirements.txt (line 4)) Downloading librosa-0.10.0-py3-none-any.whl.metadata (8.3 kB) Collecting numpy==1.22.0 (from -r requirements.txt (line 5)) Downloading numpy-1.22.0.zip (11.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 16.8 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [33 lines of output] Traceback (most recent call last): File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 112, in get_requires_for_build_wheel backend = _build_backend() ^^^^^^^^^^^^^^^^ File "C:\Users\Bradley\Desktop\retry\XTTS-RVC-UI\myenv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 77, in _build_backend obj = import_module(mod_path) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Lib\importlib__init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1310, in _find_and_load_unlocked File "", line 488, in _call_with_frames_removed File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "C:\Users\Bradley\AppData\Local\Temp\pip-build-env-6qb0lzw4\overlay\Lib\site-packages\setuptools\init.py", line 16, in import setuptools.version File "C:\Users\Bradley\AppData\Local\Temp\pip-build-env-6qb0lzw4\overlay\Lib\site-packages\setuptools\version.py", line 1, in import pkg_resources File "C:\Users\Bradley\AppData\Local\Temp\pip-build-env-6qb0lzw4\overlay\Lib\site-packages\pkg_resources\init__.py", line 2172, in register_finder(pkgutil.ImpImporter, find_on_path) ^^^^^^^^^^^^^^^^^^^ AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel 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.

heartgold512 commented 3 months ago

If I fix in meantime ill add another comment

heartgold512 commented 3 months ago

fix: looked through earlier threads on issues here credit to this amazing thread: Requirements conflict #8. ran through Anaconda terminal (make sure conda is recognised on sys variables under user and find right dir): virtual environment python -m venv venv (venv) (base) C:\Users\Bradley\Desktop\retrynumbertwo\XTTS-RVC-UI>pip install -r requirements.txt ie requirment.txt should look like this: faiss_cpu==1.7.4 gradio==4.7.1 librosa==0.10.0 numpy==1.24.3 praat-parselmouth pyworld==0.3.4 Requests==2.31.0 scipy==1.11.4 torch==2.1.0 torchcrepe==0.0.22 TTS==0.21.1 (i didnt bother with a yaml file didnt work for me) (just this one command worked for me ie the pip install)