Skip to content

paddlespeech 安装错误 #1655

@zkx456

Description

@zkx456

pip install paddlespeech -i https://pypi.tuna.tsinghua.edu.cn/simple

Building wheels for collected packages: mcd
  Building wheel for mcd (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\ProgramData\Miniconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-2g9bgdo0\\mcd_613618804b9946e486d73881a33fa62d\\setup.py'"'"'; __file__='"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-2g9bgdo0\\mcd_613618804b9946e486d73881a33fa62d\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-wheel-ugcrggid'
       cwd: C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-2g9bgdo0\mcd_613618804b9946e486d73881a33fa62d\
  Complete output (20 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.7
  creating build\lib.win-amd64-3.7\mcd
  copying mcd\dtw.py -> build\lib.win-amd64-3.7\mcd
  copying mcd\metrics.py -> build\lib.win-amd64-3.7\mcd
  copying mcd\test_dtw.py -> build\lib.win-amd64-3.7\mcd
  copying mcd\test_metrics.py -> build\lib.win-amd64-3.7\mcd
  copying mcd\util.py -> build\lib.win-amd64-3.7\mcd
  copying mcd\__init__.py -> build\lib.win-amd64-3.7\mcd
  running build_ext
  building 'mcd.metrics_fast' extension
  creating build\temp.win-amd64-3.7
  creating build\temp.win-amd64-3.7\Release
  creating build\temp.win-amd64-3.7\Release\mcd
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\ProgramData\Miniconda3\lib\site-packages\numpy\core\include -IC:\ProgramData\Miniconda3\include -IC:\ProgramData\Miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcmcd\metrics_fast.c /Fobuild\temp.win-amd64-3.7\Release\mcd\metrics_fast.obj -Wno-unused-but-set-variable -O3
  cl: 命令行 error D8021 :无效的数值参数“/Wno-unused-but-set-variable”
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for mcd
  Running setup.py clean for mcd
Failed to build mcd
Installing collected packages: mcd, h5py, dtaidistance, datasets, asgiref, uvicorn, sentencepiece, sacrebleu, pyworld, pypinyin-dict, prettytable, praatio, pattern-singleton, paddlespeech-feat, paddlenlp, paddleaudio, nara-wpe, loguru, librosa, kaldiio, jsonlines, g2pM, g2p-en, fastapi, editdistance, paddlespeech
    Running setup.py install for mcd ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\ProgramData\Miniconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-2g9bgdo0\\mcd_613618804b9946e486d73881a33fa62d\\setup.py'"'"'; __file__='"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-2g9bgdo0\\mcd_613618804b9946e486d73881a33fa62d\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-record-r8hftadi\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\ProgramData\Miniconda3\Include\mcd'
         cwd: C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-2g9bgdo0\mcd_613618804b9946e486d73881a33fa62d\
    Complete output (20 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\mcd
    copying mcd\dtw.py -> build\lib.win-amd64-3.7\mcd
    copying mcd\metrics.py -> build\lib.win-amd64-3.7\mcd
    copying mcd\test_dtw.py -> build\lib.win-amd64-3.7\mcd
    copying mcd\test_metrics.py -> build\lib.win-amd64-3.7\mcd
    copying mcd\util.py -> build\lib.win-amd64-3.7\mcd
    copying mcd\__init__.py -> build\lib.win-amd64-3.7\mcd
    running build_ext
    building 'mcd.metrics_fast' extension
    creating build\temp.win-amd64-3.7
    creating build\temp.win-amd64-3.7\Release
    creating build\temp.win-amd64-3.7\Release\mcd
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\ProgramData\Miniconda3\lib\site-packages\numpy\core\include -IC:\ProgramData\Miniconda3\include -IC:\ProgramData\Miniconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcmcd\metrics_fast.c /Fobuild\temp.win-amd64-3.7\Release\mcd\metrics_fast.obj -Wno-unused-but-set-variable -O3
    cl: 命令行 error D8021 :无效的数值参数“/Wno-unused-but-set-variable”
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\ProgramData\Miniconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-2g9bgdo0\\mcd_613618804b9946e486d73881a33fa62d\\setup.py'"'"'; __file__='"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-2g9bgdo0\\mcd_613618804b9946e486d73881a33fa62d\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-record-r8hftadi\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\ProgramData\Miniconda3\Include\mcd' Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions