首页 > 其他分享 >安装paddlespeech(四)

安装paddlespeech(四)

时间:2023-12-29 14:12:44浏览次数:39  
标签:http paddlespeech com py updates ubuntu 安装

前情提要

无法定位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,先挂在这把,等我解决了在来

标签:http,paddlespeech,com,py,updates,ubuntu,安装
From: https://www.cnblogs.com/qqdpp/p/17934753.html

相关文章

  • ubuntu 安装 docker
    ubuntu安装docker详细步骤ubuntu下自带了docker的库,不需要添加新的源。但是ubuntu自带的docker版本太低,需要先卸载旧的再安装新的。卸载旧版本apt-getremovedockerdocker-enginedocker.iocontainerdrunc安装前提依赖aptupdateapt-getinstallca-certificates......
  • 在不受支持的 Mac 上安装 macOS Sonoma (OpenCore Legacy Patcher)
    在不受支持的Mac上安装macOSSonoma、Ventura、Monterey、BigSur(OpenCoreLegacyPatcher)InstallmacOSonunsupportedMacs作者主页:sysin.orgmacOSSonoma正式版已发布,OpenCoreLegacyPatcherv1.0.0版本已支持。随着OpenCoreLegacyPatcher1.0.0的发布,OLP项目组......
  • 如何创建可引导的 macOS Sonoma 安装介质
    如何创建可引导的macOSSonoma安装介质如何创建可引导的macOS安装器|如何制作macOSUSB启动盘2023年9月26日(北京时间27日凌晨)macOSSonoma正式版现已发布。作者主页:sysin.org当前版本:->macOSSonoma14(23A344)正式版ISO、IPSW、PKG下载您可以将外置驱动器或......
  • python_使用selenium进行webui测试的浏览器驱动安装步骤
    以chrome浏览器为例。(前提是:python和pycharm安装成功,且能正常运行)1、查看chrome浏览器的版本方式一:打开Chrome浏览器。在浏览器右上角,点击三个点的图标。在弹出的菜单中,选择“设置”。在设置页面中,滚动到底部,点击“关于Chrome”。在关于Chrome页面中,你可以看到C......
  • 安装paddlespeech(二)
    现在是使用sudo安装的paddlespeech呜呜呜,报错如下Storedindirectory:/root/.cache/pip/wheels/39/48/7d/a6f09f94eef5d47f02f3a9825313002894c59628550ede5e9aBuildingwheelforsoxbindings(setup.py)...errorerror:subprocess-exited-with-error×py......
  • Windows环境检验NodeJs安装是否成功
    Windows环境检验NodeJs安装是否成功检验方法1、win+R打开运行窗口,在此窗口输入cmd命令编辑2、进入命令提示符窗口,分别输入以下命令,显示版本号,则安装成功node-v:显示安装的nodejs版本npm-v:显示安装的npm版本编辑如上图说明安装成功我本机的环境版本低一点因为是安装鸿蒙IDE自动安......
  • Apple Safari 17.1 - macOS 专属浏览器 (独立安装包下载)
    AppleSafari17.1-macOS专属浏览器(独立安装包下载)适用于macOSVentura和macOSMonterey的Safari浏览器17作者主页:sysin.org之前Safari浏览器伴随macOS更新一起发布,需要系统更新才能体验到新版,现在库克终于带来了独立安装包,无需更新系统也可感受最新的卓越Web体......
  • linux环境docker安装使用nginx
    1、dockersearchnginx 命令来查看可用版本$dockersearchnginxNAMEDESCRIPTIONSTARSOFFICIALAUTOMATEDnginxOfficialbuildofNginx.3260[OK]......
  • Docker安装sqlserver-2019(已做持久化)
    Docker安装sqlserver-2019一.新建挂载目录并赋权mkdirsqlservercdsqlservermkdir-p/data/mssql#给目录赋予写的权限,不然在容器启动的时候,文件无法挂载chmod-R777./data/mssql二.准备docker-compose文件#在预先创建的sqlserver目录下vidocker-compose.yml#写入......
  • Ubuntu 20.04 安装Odoo17
    1、升级系统sudoapt-getupdate2、更新系统sudoapt-getupgrade3、查看系统Python3版本python3-V4、更新Python3.8到3.10sudoadd-apt-repositoryppa:deadsnakes/ppasudoapt-getupdate安装Python3.10sudoapt-getinstallpython3.10-y安装完成后,检查新版......