前情提要
无法定位gcc,后来给它添加一个源,让它自己下载需要的gcc版本
问题描述
此时来到了下一步,再次运行安装paddlespecch返回(错误)代码如下
Installing collected packages: paddlespeech Attempting uninstall: paddlespeech Found existing installation: paddlespeech 0.0.0 Uninstalling paddlespeech-0.0.0: Successfully uninstalled paddlespeech-0.0.0 Running setup.py develop for paddlespeech error: subprocess-exited-with-error × python setup.py develop did not run successfully. │ exit code: 1 ╰─> [128 lines of output] /usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'index-url' will not be supported in future versions. Please use the underscore name 'index_url' instead warnings.warn( __version__ = '0.0.0' __commit__ = '1b8ca706d6a8e0a8b97ee21d93314a245d777a69' write_version_py done running develop /usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running egg_info writing paddlespeech.egg-info/PKG-INFO writing dependency_links to paddlespeech.egg-info/dependency_links.txt writing entry points to paddlespeech.egg-info/entry_points.txt writing requirements to paddlespeech.egg-info/requires.txt writing top-level names to paddlespeech.egg-info/top_level.txt reading manifest file 'paddlespeech.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'paddlespeech/t2s/exps/*.txt' adding license file 'LICENSE' writing manifest file 'paddlespeech.egg-info/SOURCES.txt' running build_ext Creating /usr/local/lib/python3.10/dist-packages/paddlespeech.egg-link (link to .) Adding paddlespeech 0.0.0 to easy-install.pth file Installing paddlespeech script to /usr/local/bin Installing paddlespeech_client script to /usr/local/bin Installing paddlespeech_server script to /usr/local/bin Installed /home/ww/git_house/PaddleSpeech Post Install... apt update -y WARNING: apt does not have a stable CLI interface. Use with caution in scripts. 命中:4 https://dl.google.com/linux/chrome/deb stable InRelease 命中:5 http://packages.microsoft.com/repos/code stable InRelease 获取:6 http://kr.archive.ubuntu.com/ubuntu lunar-updates InRelease [109 kB] 获取:7 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] 获取:8 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main i386 Packages [278 kB] 获取:9 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main amd64 Packages [558 kB] 命中:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease 命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease 命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease 获取:10 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main Translation-en [132 kB] 获取:11 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main amd64 DEP-11 Metadata [81.1 kB] 获取:12 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main DEP-11 48x48 Icons [27.0 kB] 获取:13 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main DEP-11 64x64 Icons [37.5 kB] 获取:14 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main DEP-11 64x64@2 Icons [29 B] 获取:15 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main amd64 c-n-f Metadata [8,496 B] 获取:16 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 Packages [854 kB] 获取:17 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe i386 Packages [699 kB] 获取:18 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe Translation-en [114 kB] 获取:19 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 DEP-11 Metadata [71.3 kB] 获取:20 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe DEP-11 48x48 Icons [32.5 kB] 获取:21 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe DEP-11 64x64 Icons [44.4 kB] 获取:22 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe DEP-11 64x64@2 Icons [29 B] 获取:23 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 c-n-f Metadata [13.6 kB] 已下载 3,170 kB,耗时 11秒 (292 kB/s) 正在读取软件包列表... 正在分析软件包的依赖关系树... 正在读取状态信息... 有 324 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。 apt install -y bc flac jq vim tig tree sox pkg-config libsndfile1 libflac-dev libogg-dev libvorbis-dev libboost-dev swig python3-dev WARNING: apt does not have a stable CLI interface. Use with caution in scripts. 正在读取软件包列表... 正在分析软件包的依赖关系树... 正在读取状态信息... bc 已经是最新版 (1.07.1-3build1)。 jq 已经是最新版 (1.6-2.1ubuntu3)。 libboost-dev 已经是最新版 (1.74.0.3ubuntu7)。 libogg-dev 已经是最新版 (1.3.5-0ubuntu3)。 libvorbis-dev 已经是最新版 (1.3.7-1build2)。 pkg-config 已经是最新版 (0.29.2-1ubuntu3)。 swig 已经是最新版 (4.0.2-1ubuntu1)。 tig 已经是最新版 (2.5.1-1)。 tree 已经是最新版 (2.0.2-1)。 libflac-dev 已经是最新版 (1.3.3-2ubuntu0.2)。 python3-dev 已经是最新版 (3.10.6-1~22.04)。 flac 已经是最新版 (1.3.3-2ubuntu0.2)。 有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是 因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件 包尚未被创建或是它们已被从新到(Incoming)目录移出。 下列信息可能会对解决问题有所帮助: 下列软件包有未满足的依赖关系: libsndfile1 : 依赖: libflac12 (>= 1.3.0) 但无法安装它 sox : 依赖: libsox-fmt-base (= 14.4.2+git20190427-3.4ubuntu1.1) 但是 14.4.2+git20190427-2+deb11u2ubuntu0.22.04.1 正要被安装 依赖: libsox3 (= 14.4.2+git20190427-3.4ubuntu1.1) 但是 14.4.2+git20190427-2+deb11u2ubuntu0.22.04.1 正要被安装 E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。 make: *** [Makefile:28:apt.done] 错误 100 /home/ww/git_house/PaddleSpeech/setup.py:107: CMD: make, Error: None Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/home/ww/git_house/PaddleSpeech/setup.py", line 332, in <module> setup(**setup_info, include_package_data=True) File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.10/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/ww/git_house/PaddleSpeech/setup.py", line 170, in run self.execute(_post_install, (self.install_lib, ), msg="Post Install...") File "/usr/lib/python3.10/distutils/cmd.py", line 335, in execute util.execute(func, args, msg, dry_run=self.dry_run) File "/usr/lib/python3.10/distutils/util.py", line 305, in execute func(*args) File "/home/ww/git_house/PaddleSpeech/setup.py", line 156, in _post_install check_call("make") File "/home/ww/git_house/PaddleSpeech/setup.py", line 110, in check_call raise e File "/home/ww/git_house/PaddleSpeech/setup.py", line 101, in check_call sp.check_call( File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2. /home/ww/git_house/PaddleSpeech/tools [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. Rolling back uninstall of paddlespeech Moving to /usr/local/bin/paddlespeech from /tmp/pip-uninstall-4mcfrw8t/paddlespeech Moving to /usr/local/bin/paddlespeech_client from /tmp/pip-uninstall-4mcfrw8t/paddlespeech_client Moving to /usr/local/bin/paddlespeech_server from /tmp/pip-uninstall-4mcfrw8t/paddlespeech_server Moving to /usr/local/lib/python3.10/dist-packages/paddlespeech.egg-link from /tmp/pip-uninstall-wry7e81s/paddlespeech.egg-link error: subprocess-exited-with-error × python setup.py develop did not run successfully. │ exit code: 1 ╰─> [128 lines of output] /usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'index-url' will not be supported in future versions. Please use the underscore name 'index_url' instead warnings.warn( __version__ = '0.0.0' __commit__ = '1b8ca706d6a8e0a8b97ee21d93314a245d777a69' write_version_py done running develop /usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running egg_info writing paddlespeech.egg-info/PKG-INFO writing dependency_links to paddlespeech.egg-info/dependency_links.txt writing entry points to paddlespeech.egg-info/entry_points.txt writing requirements to paddlespeech.egg-info/requires.txt writing top-level names to paddlespeech.egg-info/top_level.txt reading manifest file 'paddlespeech.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'paddlespeech/t2s/exps/*.txt' adding license file 'LICENSE' writing manifest file 'paddlespeech.egg-info/SOURCES.txt' running build_ext Creating /usr/local/lib/python3.10/dist-packages/paddlespeech.egg-link (link to .) Adding paddlespeech 0.0.0 to easy-install.pth file Installing paddlespeech script to /usr/local/bin Installing paddlespeech_client script to /usr/local/bin Installing paddlespeech_server script to /usr/local/bin Installed /home/ww/git_house/PaddleSpeech Post Install... apt update -y WARNING: apt does not have a stable CLI interface. Use with caution in scripts. 命中:4 https://dl.google.com/linux/chrome/deb stable InRelease 命中:5 http://packages.microsoft.com/repos/code stable InRelease 获取:6 http://kr.archive.ubuntu.com/ubuntu lunar-updates InRelease [109 kB] 获取:7 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] 获取:8 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main i386 Packages [278 kB] 获取:9 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main amd64 Packages [558 kB] 命中:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease 命中:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease 命中:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease 获取:10 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main Translation-en [132 kB] 获取:11 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main amd64 DEP-11 Metadata [81.1 kB] 获取:12 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main DEP-11 48x48 Icons [27.0 kB] 获取:13 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main DEP-11 64x64 Icons [37.5 kB] 获取:14 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main DEP-11 64x64@2 Icons [29 B] 获取:15 http://kr.archive.ubuntu.com/ubuntu lunar-updates/main amd64 c-n-f Metadata [8,496 B] 获取:16 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 Packages [854 kB] 获取:17 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe i386 Packages [699 kB] 获取:18 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe Translation-en [114 kB] 获取:19 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 DEP-11 Metadata [71.3 kB] 获取:20 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe DEP-11 48x48 Icons [32.5 kB] 获取:21 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe DEP-11 64x64 Icons [44.4 kB] 获取:22 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe DEP-11 64x64@2 Icons [29 B] 获取:23 http://kr.archive.ubuntu.com/ubuntu lunar-updates/universe amd64 c-n-f Metadata [13.6 kB] 已下载 3,170 kB,耗时 11秒 (292 kB/s) 正在读取软件包列表... 正在分析软件包的依赖关系树... 正在读取状态信息... 有 324 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。 apt install -y bc flac jq vim tig tree sox pkg-config libsndfile1 libflac-dev libogg-dev libvorbis-dev libboost-dev swig python3-dev WARNING: apt does not have a stable CLI interface. Use with caution in scripts. 正在读取软件包列表... 正在分析软件包的依赖关系树... 正在读取状态信息... bc 已经是最新版 (1.07.1-3build1)。 jq 已经是最新版 (1.6-2.1ubuntu3)。 libboost-dev 已经是最新版 (1.74.0.3ubuntu7)。 libogg-dev 已经是最新版 (1.3.5-0ubuntu3)。 libvorbis-dev 已经是最新版 (1.3.7-1build2)。 pkg-config 已经是最新版 (0.29.2-1ubuntu3)。 swig 已经是最新版 (4.0.2-1ubuntu1)。 tig 已经是最新版 (2.5.1-1)。 tree 已经是最新版 (2.0.2-1)。 libflac-dev 已经是最新版 (1.3.3-2ubuntu0.2)。 python3-dev 已经是最新版 (3.10.6-1~22.04)。 flac 已经是最新版 (1.3.3-2ubuntu0.2)。 有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是 因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件 包尚未被创建或是它们已被从新到(Incoming)目录移出。 下列信息可能会对解决问题有所帮助: 下列软件包有未满足的依赖关系: libsndfile1 : 依赖: libflac12 (>= 1.3.0) 但无法安装它 sox : 依赖: libsox-fmt-base (= 14.4.2+git20190427-3.4ubuntu1.1) 但是 14.4.2+git20190427-2+deb11u2ubuntu0.22.04.1 正要被安装 依赖: libsox3 (= 14.4.2+git20190427-3.4ubuntu1.1) 但是 14.4.2+git20190427-2+deb11u2ubuntu0.22.04.1 正要被安装 E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。 make: *** [Makefile:28:apt.done] 错误 100 /home/ww/git_house/PaddleSpeech/setup.py:107: CMD: make, Error: None Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/home/ww/git_house/PaddleSpeech/setup.py", line 332, in <module> setup(**setup_info, include_package_data=True) File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.10/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/ww/git_house/PaddleSpeech/setup.py", line 170, in run self.execute(_post_install, (self.install_lib, ), msg="Post Install...") File "/usr/lib/python3.10/distutils/cmd.py", line 335, in execute util.execute(func, args, msg, dry_run=self.dry_run) File "/usr/lib/python3.10/distutils/util.py", line 305, in execute func(*args) File "/home/ww/git_house/PaddleSpeech/setup.py", line 156, in _post_install check_call("make") File "/home/ww/git_house/PaddleSpeech/setup.py", line 110, in check_call raise e File "/home/ww/git_house/PaddleSpeech/setup.py", line 101, in check_call sp.check_call( File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2. /home/ww/git_house/PaddleSpeech/tools [end of output] note: This error originates from a subprocess, and is likely not a problem with pip.
目前这里直接卡死我是一点办法没有,help me,先挂在这把,等我解决了在来