Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step 1 安装运行环境时报错: #343

Open
Clukay416 opened this issue Jul 18, 2023 · 13 comments
Open

Step 1 安装运行环境时报错: #343

Clukay416 opened this issue Jul 18, 2023 · 13 comments

Comments

@Clukay416
Copy link

Clukay416 commented Jul 18, 2023

error: subprocess-exited-with-error

× Building wheel for pyopenjtalk (pyproject.toml) 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.
Building wheel for pyopenjtalk (pyproject.toml) ... error
ERROR: Failed building wheel for pyopenjtalk

ERROR: Could not build wheels for pyopenjtalk, which is required to install pyproject.toml-based projects

@Clukay416 Clukay416 changed the title Step 1 安装运行环境时报错 Step 1 安装运行环境时报错: Jul 18, 2023
@tian1326
Copy link

tian1326 commented Jul 18, 2023

找到

!python3.8 -m pip install -r requirements.txt

并修改为

!python3.8 -m pip install --no-build-isolation -r requirements.txt

然后在这行下面添加

!python3.8 -m pip install --upgrade numpy

它看起来应该是这样的

!python3.8 -m pip install --no-build-isolation -r requirements.txt
!python3.8 -m pip install --upgrade numpy

此错误原因为pyopenjtalk编译失败,解决方案源自r9y9/pyopenjtalk#48

@Clukay416
Copy link
Author

非常感谢您!!!

@mbx213
Copy link

mbx213 commented Jul 20, 2023

谢谢 我也试一试

@mbx213
Copy link

mbx213 commented Jul 20, 2023

还是不行,我感觉没这么简单,现在前面环境有问题,后面whisper也加载不了

@anfogy
Copy link

anfogy commented Jul 20, 2023

还是不行,我感觉没这么简单,现在前面环境有问题,后面whisper也加载不了

请确认自己是否正确的加入解决方案中的代码,如果还是无法解决把notebook文件发一下

@WinterFellW
Copy link

还是不太行
这是step1的部分反馈
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libpython3.8-minimal libpython3.8-stdlib mailcap mime-support
python3.8-minimal
Suggested packages:
python3.8-venv binfmt-support
The following NEW packages will be installed:
libpython3.8-minimal libpython3.8-stdlib mailcap mime-support python3.8
python3.8-minimal
0 upgraded, 6 newly installed, 0 to remove and 8 not upgraded.
Need to get 5,099 kB of archives.
After this operation, 18.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 mailcap all 3.70+nmu1ubuntu1 [23.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 mime-support all 3.66 [3,696 B]
Get:3 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 libpython3.8-minimal amd64 3.8.17-1+jammy1 [793 kB]
Get:4 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 python3.8-minimal amd64 3.8.17-1+jammy1 [2,023 kB]
Get:5 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 libpython3.8-stdlib amd64 3.8.17-1+jammy1 [1,817 kB]
Get:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 python3.8 amd64 3.8.17-1+jammy1 [438 kB]
Fetched 5,099 kB in 5s (1,073 kB/s)
Selecting previously unselected package libpython3.8-minimal:amd64.
(Reading database ... 120509 files and directories currently installed.)
Preparing to unpack .../0-libpython3.8-minimal_3.8.17-1+jammy1_amd64.deb ...
Unpacking libpython3.8-minimal:amd64 (3.8.17-1+jammy1) ...
Selecting previously unselected package python3.8-minimal.
Preparing to unpack .../1-python3.8-minimal_3.8.17-1+jammy1_amd64.deb ...
Unpacking python3.8-minimal (3.8.17-1+jammy1) ...
Selecting previously unselected package mailcap.
Preparing to unpack .../2-mailcap_3.70+nmu1ubuntu1_all.deb ...
Unpacking mailcap (3.70+nmu1ubuntu1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../3-mime-support_3.66_all.deb ...
Unpacking mime-support (3.66) ...
Selecting previously unselected package libpython3.8-stdlib:amd64.
Preparing to unpack .../4-libpython3.8-stdlib_3.8.17-1+jammy1_amd64.deb ...
Unpacking libpython3.8-stdlib:amd64 (3.8.17-1+jammy1) ...
Selecting previously unselected package python3.8.
Preparing to unpack .../5-python3.8_3.8.17-1+jammy1_amd64.deb ...
Unpacking python3.8 (3.8.17-1+jammy1) ...
Setting up libpython3.8-minimal:amd64 (3.8.17-1+jammy1) ...
Setting up python3.8-minimal (3.8.17-1+jammy1) ...
Setting up mailcap (3.70+nmu1ubuntu1) ...
Setting up mime-support (3.66) ...
Setting up libpython3.8-stdlib:amd64 (3.8.17-1+jammy1) ...
Setting up python3.8 (3.8.17-1+jammy1) ...
Processing triggers for man-db (2.10.2-1) ...
Cloning into 'VITS-fast-fine-tuning'...
remote: Enumerating objects: 822, done.
remote: Counting objects: 100% (317/317), done.
remote: Compressing objects: 100% (105/105), done.
remote: Total 822 (delta 235), reused 224 (delta 212), pack-reused 505
Receiving objects: 100% (822/822), 639.30 KiB | 5.86 MiB/s, done.
Resolving deltas: 100% (470/470), done.
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
/content/VITS-fast-fine-tuning
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in
from pip._internal.build_env import get_runnable_pip
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in
from pip._internal.cli.spinners import open_spinner
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in
from pip._internal.utils.logging import get_indentation
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in
from pip._internal.locations import get_major_minor_version
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in
from . import _distutils
File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in
from distutils.cmd import Command as DistutilsCommand
ModuleNotFoundError: No module named 'distutils.cmd'
/content/VITS-fast-fine-tuning/monotonic_align
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/numpy/core/init.py", line 23, in
from . import multiarray
File "/usr/local/lib/python3.8/dist-packages/numpy/core/multiarray.py", line 10, in
from . import overrides
File "/usr/local/lib/python3.8/dist-packages/numpy/core/overrides.py", line 6, in
from numpy.core._multiarray_umath import (
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 3, in
import numpy
File "/usr/local/lib/python3.8/dist-packages/numpy/init.py", line 144, in
from . import core
File "/usr/local/lib/python3.8/dist-packages/numpy/core/init.py", line 49, in
raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  • The Python version is: Python3.8 from "/usr/bin/python3.8"
  • The NumPy version is: "1.22.4"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

/content/VITS-fast-fine-tuning
--2023-07-20 05:07:15-- https://huggingface.co/datasets/Plachta/sampled_audio4ft/resolve/main/sampled_audio4ft_v2.zip
Resolving huggingface.co (huggingface.co)... 18.172.134.24, 18.172.134.4, 18.172.134.88, ...
Connecting to huggingface.co (huggingface.co)|18.172.134.24|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cdn-lfs.huggingface.co/repos/ac/b5/acb5f3bba0c513bfed7e77047c9bd2d980658e84d452613fcd1c54d10dbd418f/f9ddea2304dab927ace31fbc4f42b6afb93aa551ba80300072485a038d438c22?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27sampled_audio4ft_v2.zip%3B+filename%3D%22sampled_audio4ft_v2.zip%22%3B&response-content-type=application%2Fzip&Expires=1690085474&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY5MDA4NTQ3NH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9hYy9iNS9hY2I1ZjNiYmEwYzUxM2JmZWQ3ZTc3MDQ3YzliZDJkOTgwNjU4ZTg0ZDQ1MjYxM2ZjZDFjNTRkMTBkYmQ0MThmL2Y5ZGRlYTIzMDRkYWI5MjdhY2UzMWZiYzRmNDJiNmFmYjkzYWE1NTFiYTgwMzAwMDcyNDg1YTAzOGQ0MzhjMjI%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=X4XZBiu-d8EdV6kjWS-Bb4AGkwc%7EzDIEdCEJnwqIQwYi47J0wixKAs6YP8HNYIDdHsf4rpVWhVWKfWwZPlwzf-HrwPjPpD0W1Goj0JgebrsrIyaLUOSRSlGjmGh5Zf00QxryXhJ8jqpD0vdupF8rtw4V-aP0lk1YEeEIHJABkbS99ocJsSoNVHWzVYp1ShpxHXQBVbsBvhGAGJ3zRX6xPKzVqK6Wux%7EjkKCC-X48W4Pz49ZhEoekxYPbHquGrHW4P6JmiAAWaQ059by2lEZNdq%7EKQBbgS8jWdMYApZ0Tf9oUZB6KgmqFNpORd5gdS7aUQpFCELo%7EbkvL1KEnNxh1-Q__&Key-Pair-Id=KVTP0A1DKRTAX [following]
--2023-07-20 05:07:15-- https://cdn-lfs.huggingface.co/repos/ac/b5/acb5f3bba0c513bfed7e77047c9bd2d980658e84d452613fcd1c54d10dbd418f/f9ddea2304dab927ace31fbc4f42b6afb93aa551ba80300072485a038d438c22?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27sampled_audio4ft_v2.zip%3B+filename%3D%22sampled_audio4ft_v2.zip%22%3B&response-content-type=application%2Fzip&Expires=1690085474&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY5MDA4NTQ3NH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9hYy9iNS9hY2I1ZjNiYmEwYzUxM2JmZWQ3ZTc3MDQ3YzliZDJkOTgwNjU4ZTg0ZDQ1MjYxM2ZjZDFjNTRkMTBkYmQ0MThmL2Y5ZGRlYTIzMDRkYWI5MjdhY2UzMWZiYzRmNDJiNmFmYjkzYWE1NTFiYTgwMzAwMDcyNDg1YTAzOGQ0MzhjMjI%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=X4XZBiu-d8EdV6kjWS-Bb4AGkwc%7EzDIEdCEJnwqIQwYi47J0wixKAs6YP8HNYIDdHsf4rpVWhVWKfWwZPlwzf-HrwPjPpD0W1Goj0JgebrsrIyaLUOSRSlGjmGh5Zf00QxryXhJ8jqpD0vdupF8rtw4V-aP0lk1YEeEIHJABkbS99ocJsSoNVHWzVYp1ShpxHXQBVbsBvhGAGJ3zRX6xPKzVqK6Wux%7EjkKCC-X48W4Pz49ZhEoekxYPbHquGrHW4P6JmiAAWaQ059by2lEZNdq%7EKQBbgS8jWdMYApZ0Tf9oUZB6KgmqFNpORd5gdS7aUQpFCELo%7EbkvL1KEnNxh1-Q__&Key-Pair-Id=KVTP0A1DKRTAX
Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 13.249.85.116, 13.249.85.23, 13.249.85.12, ...
Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|13.249.85.116|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 336555261 (321M) [application/zip]
Saving to: ‘sampled_audio4ft_v2.zip’

sampled_audio4ft_v2 100%[===================>] 320.96M 80.5MB/s in 4.0s
然后到自动处理数据那里就不行了

@anfogy
Copy link

anfogy commented Jul 20, 2023

奇怪... 这是pip出事了,重装pip试试

@tian1326
Copy link

还是不太行 这是step1的部分反馈 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libpython3.8-minimal libpython3.8-stdlib mailcap mime-support python3.8-minimal Suggested packages: python3.8-venv binfmt-support The following NEW packages will be installed: libpython3.8-minimal libpython3.8-stdlib mailcap mime-support python3.8 python3.8-minimal 0 upgraded, 6 newly installed, 0 to remove and 8 not upgraded. Need to get 5,099 kB of archives. After this operation, 18.9 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 mailcap all 3.70+nmu1ubuntu1 [23.8 kB] Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 mime-support all 3.66 [3,696 B] Get:3 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 libpython3.8-minimal amd64 3.8.17-1+jammy1 [793 kB] Get:4 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 python3.8-minimal amd64 3.8.17-1+jammy1 [2,023 kB] Get:5 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 libpython3.8-stdlib amd64 3.8.17-1+jammy1 [1,817 kB] Get:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 python3.8 amd64 3.8.17-1+jammy1 [438 kB] Fetched 5,099 kB in 5s (1,073 kB/s) Selecting previously unselected package libpython3.8-minimal:amd64. (Reading database ... 120509 files and directories currently installed.) Preparing to unpack .../0-libpython3.8-minimal_3.8.17-1+jammy1_amd64.deb ... Unpacking libpython3.8-minimal:amd64 (3.8.17-1+jammy1) ... Selecting previously unselected package python3.8-minimal. Preparing to unpack .../1-python3.8-minimal_3.8.17-1+jammy1_amd64.deb ... Unpacking python3.8-minimal (3.8.17-1+jammy1) ... Selecting previously unselected package mailcap. Preparing to unpack .../2-mailcap_3.70+nmu1ubuntu1_all.deb ... Unpacking mailcap (3.70+nmu1ubuntu1) ... Selecting previously unselected package mime-support. Preparing to unpack .../3-mime-support_3.66_all.deb ... Unpacking mime-support (3.66) ... Selecting previously unselected package libpython3.8-stdlib:amd64. Preparing to unpack .../4-libpython3.8-stdlib_3.8.17-1+jammy1_amd64.deb ... Unpacking libpython3.8-stdlib:amd64 (3.8.17-1+jammy1) ... Selecting previously unselected package python3.8. Preparing to unpack .../5-python3.8_3.8.17-1+jammy1_amd64.deb ... Unpacking python3.8 (3.8.17-1+jammy1) ... Setting up libpython3.8-minimal:amd64 (3.8.17-1+jammy1) ... Setting up python3.8-minimal (3.8.17-1+jammy1) ... Setting up mailcap (3.70+nmu1ubuntu1) ... Setting up mime-support (3.66) ... Setting up libpython3.8-stdlib:amd64 (3.8.17-1+jammy1) ... Setting up python3.8 (3.8.17-1+jammy1) ... Processing triggers for man-db (2.10.2-1) ... Cloning into 'VITS-fast-fine-tuning'... remote: Enumerating objects: 822, done. remote: Counting objects: 100% (317/317), done. remote: Compressing objects: 100% (105/105), done. remote: Total 822 (delta 235), reused 224 (delta 212), pack-reused 505 Receiving objects: 100% (822/822), 639.30 KiB | 5.86 MiB/s, done. Resolving deltas: 100% (470/470), done. Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' /content/VITS-fast-fine-tuning Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/dist-packages/pip/main.py", line 29, in from pip._internal.cli.main import main as _main File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main.py", line 10, in from pip._internal.cli.autocompletion import autocomplete File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/main_parser.py", line 9, in from pip._internal.build_env import get_runnable_pip File "/usr/local/lib/python3.8/dist-packages/pip/_internal/build_env.py", line 19, in from pip._internal.cli.spinners import open_spinner File "/usr/local/lib/python3.8/dist-packages/pip/_internal/cli/spinners.py", line 9, in from pip._internal.utils.logging import get_indentation File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/logging.py", line 29, in from pip._internal.utils.misc import ensure_dir File "/usr/local/lib/python3.8/dist-packages/pip/_internal/utils/misc.py", line 44, in from pip._internal.locations import get_major_minor_version File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/init.py", line 66, in from . import _distutils File "/usr/local/lib/python3.8/dist-packages/pip/_internal/locations/_distutils.py", line 20, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd' /content/VITS-fast-fine-tuning/monotonic_align Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/numpy/core/init.py", line 23, in from . import multiarray File "/usr/local/lib/python3.8/dist-packages/numpy/core/multiarray.py", line 10, in from . import overrides File "/usr/local/lib/python3.8/dist-packages/numpy/core/overrides.py", line 6, in from numpy.core._multiarray_umath import ( ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "setup.py", line 3, in import numpy File "/usr/local/lib/python3.8/dist-packages/numpy/init.py", line 144, in from . import core File "/usr/local/lib/python3.8/dist-packages/numpy/core/init.py", line 49, in raise ImportError(msg) ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed.

We have compiled some common reasons and troubleshooting tips at:

https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  • The Python version is: Python3.8 from "/usr/bin/python3.8"
  • The NumPy version is: "1.22.4"

and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help.

Original error was: No module named 'numpy.core._multiarray_umath'

/content/VITS-fast-fine-tuning --2023-07-20 05:07:15-- https://huggingface.co/datasets/Plachta/sampled_audio4ft/resolve/main/sampled_audio4ft_v2.zip Resolving huggingface.co (huggingface.co)... 18.172.134.24, 18.172.134.4, 18.172.134.88, ... Connecting to huggingface.co (huggingface.co)|18.172.134.24|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://cdn-lfs.huggingface.co/repos/ac/b5/acb5f3bba0c513bfed7e77047c9bd2d980658e84d452613fcd1c54d10dbd418f/f9ddea2304dab927ace31fbc4f42b6afb93aa551ba80300072485a038d438c22?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27sampled_audio4ft_v2.zip%3B+filename%3D%22sampled_audio4ft_v2.zip%22%3B&response-content-type=application%2Fzip&Expires=1690085474&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY5MDA4NTQ3NH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9hYy9iNS9hY2I1ZjNiYmEwYzUxM2JmZWQ3ZTc3MDQ3YzliZDJkOTgwNjU4ZTg0ZDQ1MjYxM2ZjZDFjNTRkMTBkYmQ0MThmL2Y5ZGRlYTIzMDRkYWI5MjdhY2UzMWZiYzRmNDJiNmFmYjkzYWE1NTFiYTgwMzAwMDcyNDg1YTAzOGQ0MzhjMjI%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=X4XZBiu-d8EdV6kjWS-Bb4AGkwc%7EzDIEdCEJnwqIQwYi47J0wixKAs6YP8HNYIDdHsf4rpVWhVWKfWwZPlwzf-HrwPjPpD0W1Goj0JgebrsrIyaLUOSRSlGjmGh5Zf00QxryXhJ8jqpD0vdupF8rtw4V-aP0lk1YEeEIHJABkbS99ocJsSoNVHWzVYp1ShpxHXQBVbsBvhGAGJ3zRX6xPKzVqK6Wux%7EjkKCC-X48W4Pz49ZhEoekxYPbHquGrHW4P6JmiAAWaQ059by2lEZNdq%7EKQBbgS8jWdMYApZ0Tf9oUZB6KgmqFNpORd5gdS7aUQpFCELo%7EbkvL1KEnNxh1-Q__&Key-Pair-Id=KVTP0A1DKRTAX [following] --2023-07-20 05:07:15-- https://cdn-lfs.huggingface.co/repos/ac/b5/acb5f3bba0c513bfed7e77047c9bd2d980658e84d452613fcd1c54d10dbd418f/f9ddea2304dab927ace31fbc4f42b6afb93aa551ba80300072485a038d438c22?response-content-disposition=attachment%3B+filename*%3DUTF-8%27%27sampled_audio4ft_v2.zip%3B+filename%3D%22sampled_audio4ft_v2.zip%22%3B&response-content-type=application%2Fzip&Expires=1690085474&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY5MDA4NTQ3NH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9hYy9iNS9hY2I1ZjNiYmEwYzUxM2JmZWQ3ZTc3MDQ3YzliZDJkOTgwNjU4ZTg0ZDQ1MjYxM2ZjZDFjNTRkMTBkYmQ0MThmL2Y5ZGRlYTIzMDRkYWI5MjdhY2UzMWZiYzRmNDJiNmFmYjkzYWE1NTFiYTgwMzAwMDcyNDg1YTAzOGQ0MzhjMjI%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=X4XZBiu-d8EdV6kjWS-Bb4AGkwc%7EzDIEdCEJnwqIQwYi47J0wixKAs6YP8HNYIDdHsf4rpVWhVWKfWwZPlwzf-HrwPjPpD0W1Goj0JgebrsrIyaLUOSRSlGjmGh5Zf00QxryXhJ8jqpD0vdupF8rtw4V-aP0lk1YEeEIHJABkbS99ocJsSoNVHWzVYp1ShpxHXQBVbsBvhGAGJ3zRX6xPKzVqK6Wux%7EjkKCC-X48W4Pz49ZhEoekxYPbHquGrHW4P6JmiAAWaQ059by2lEZNdq%7EKQBbgS8jWdMYApZ0Tf9oUZB6KgmqFNpORd5gdS7aUQpFCELo%7EbkvL1KEnNxh1-Q__&Key-Pair-Id=KVTP0A1DKRTAX Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 13.249.85.116, 13.249.85.23, 13.249.85.12, ... Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|13.249.85.116|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 336555261 (321M) [application/zip] Saving to: ‘sampled_audio4ft_v2.zip’

sampled_audio4ft_v2 100%[===================>] 320.96M 80.5MB/s in 4.0s 然后到自动处理数据那里就不行了

试试更新pip再那2行代码前加上

!python3.8 -m pip install --upgrade pip

@anfogy
Copy link

anfogy commented Jul 20, 2023

参见#350 ,在pip install上方加入!sudo apt-get install python3.8-distutils来解决

@WinterFellW
Copy link

谢谢您!

参见#350 ,在pip install上方加入!sudo apt-get install python3.8-distutils来解决

@SRbone
Copy link

SRbone commented Aug 7, 2023

VITS-fast-fine-tuning> python -m pip install --no-build-isolation -r requirements.txt

Requirement already satisfied: Cython in d:\python\lib\site-packages (from -r requirements.txt (line 1)) (0.29.36)
Requirement already satisfied: librosa in d:\python\lib\site-packages (from -r requirements.txt (line 2)) (0.10.0.post2)
Requirement already satisfied: matplotlib in d:\python\lib\site-packages (from -r requirements.txt (line 3)) (3.7.2)
Requirement already satisfied: scikit-learn in d:\python\lib\site-packages (from -r requirements.txt (line 4)) (1.3.0)
Requirement already satisfied: numpy in d:\python\lib\site-packages (from -r requirements.txt (line 5)) (1.24.4)
Collecting tensorboard (from -r requirements.txt (line 6))
Using cached tensorboard-2.13.0-py3-none-any.whl (5.6 MB)
Requirement already satisfied: torch in d:\python\lib\site-packages (from -r requirements.txt (line 7)) (2.0.1+cu118)
Requirement already satisfied: torchvision in d:\python\lib\site-packages (from -r requirements.txt (line 8)) (0.15.2+cu118)
Requirement already satisfied: torchaudio in d:\python\lib\site-packages (from -r requirements.txt (line 9)) (2.0.2+cu118)
Requirement already satisfied: unidecode in d:\python\lib\site-packages (from -r requirements.txt (line 10)) (1.3.6)
Collecting pyopenjtalk (from -r requirements.txt (line 11))
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "D:\python\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "D:\python\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 "D:\python\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "D:\python\lib\site-packages\setuptools\build_meta.py", line 166, in prepare_metadata_for_build_wheel
self.run_setup()
File "D:\python\lib\site-packages\setuptools\build_meta.py", line 150, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 153, in
File "D:\python\lib\subprocess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\python\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\python\lib\subprocess.py", line 1311, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
[end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

VITS-fast-fine-tuning> pip install pyopenjtalk==0.1.4

Collecting pyopenjtalk==0.1.4
Downloading pyopenjtalk-0.1.4.tar.gz (1.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 1.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
:26: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
Traceback (most recent call last):
File "D:\python\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "D:\python\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 "D:\python\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\AppData\Local\Temp\pip-build-env-a0nndru7\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_bui
ld_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\AppData\Local\Temp\pip-build-env-a0nndru7\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "C:\Users\AppData\Local\Temp\pip-build-env-a0nndru7\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\AppData\Local\Temp\pip-build-env-a0nndru7\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 153, in
File "D:\python\lib\subprocess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\python\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\python\lib\subprocess.py", line 1311, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
[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.

@hello2mao
Copy link

谢谢各位,通过以下三行,解决了此问题,供参考。

python3.8 -m pip install --upgrade pip
python3.8 -m pip install --upgrade numpy
pip install --no-build-isolation -r requirements.txt

@durban89
Copy link

谢谢各位,通过以下三行,解决了此问题,供参考。

python3.8 -m pip install --upgrade pip
python3.8 -m pip install --upgrade numpy
pip install --no-build-isolation -r requirements.txt

可以的不过我多了一个步骤 补充下 做个参考

我是先创建的虚拟环境
python3.8 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install --upgrade numpy
pip install wheel
pip install --no-build-isolation -r requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants