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

下载ppasr失败 #188

Open
Forever0713 opened this issue Dec 27, 2024 · 0 comments
Open

下载ppasr失败 #188

Forever0713 opened this issue Dec 27, 2024 · 0 comments

Comments

@Forever0713
Copy link

python -m pip install ppasr -U -i https://pypi.tuna.tsinghua.edu.cn/simple
执行命令之后报错

Building wheel for python-Levenshtein (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [34 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-3.9
      creating build\lib.win-amd64-3.9\Levenshtein
      copying Levenshtein\StringMatcher.py -> build\lib.win-amd64-3.9\Levenshtein
      copying Levenshtein\__init__.py -> build\lib.win-amd64-3.9\Levenshtein
      running egg_info
      writing python_Levenshtein.egg-info\PKG-INFO
      writing dependency_links to python_Levenshtein.egg-info\dependency_links.txt
      writing entry points to python_Levenshtein.egg-info\entry_points.txt
      writing namespace_packages to python_Levenshtein.egg-info\namespace_packages.txt
      writing requirements to python_Levenshtein.egg-info\requires.txt
      writing top-level names to python_Levenshtein.egg-info\top_level.txt
      reading manifest file 'python_Levenshtein.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '*pyc' found anywhere in distribution
      warning: no previously-included files matching '*so' found anywhere in distribution
      warning: no previously-included files matching '.project' found anywhere in distribution
      warning: no previously-included files matching '.pydevproject' found anywhere in distribution
      adding license file 'COPYING'
      writing manifest file 'python_Levenshtein.egg-info\SOURCES.txt'
      copying Levenshtein\_levenshtein.c -> build\lib.win-amd64-3.9\Levenshtein
      copying Levenshtein\_levenshtein.h -> build\lib.win-amd64-3.9\Levenshtein
      running build_ext
      building 'Levenshtein._levenshtein' extension
      creating build\temp.win-amd64-3.9
      creating build\temp.win-amd64-3.9\Release
      creating build\temp.win-amd64-3.9\Release\Levenshtein
      D:\VisualStudio2022\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\Anaconda3\envs\PPASR-env\include -ID:\Anaconda3\envs\PPASR-env\include -ID:\VisualStudio2022\VC\Tools\MSVC\14.41.34120\include -ID:\VisualStudio2022\VC\Tools\MSVC\14.41.34120\ATLMFC\include -ID:\VisualStudio2022\VC\Auxiliary\VS\include /TcLevenshtein/_levenshtein.c /Fobuild\temp.win-amd64-3.9\Release\Levenshtein/_levenshtein.obj
      _levenshtein.c
      D:\Anaconda3\envs\PPASR-env\include\pyconfig.h(59): fatal error C1083: 无法打开包括文件: “io.h”: No such file or directory
      error: command 'D:\\VisualStudio2022\\VC\\Tools\\MSVC\\14.41.34120\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for python-Levenshtein
  Running setup.py clean for python-Levenshtein
Failed to build python-Levenshtein
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (python-Levenshtein)
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

1 participant