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

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

Open
xyiiinexg3 opened this issue Jul 6, 2023 · 1 comment

Comments

@xyiiinexg3
Copy link

windows conda python 3.7.12


(fst) D:\xyiiinexg3\1.Workstation\VSCode>pip install kenlm                                 
Collecting kenlm
  Using cached kenlm-0.1.tar.gz (424 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: kenlm
  Building wheel for kenlm (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      'bash' 不是内部或外部命令,也不是可运行的程序
      或批处理文件。
      'bash' 不是内部或外部命令,也不是可运行的程序
      或批处理文件。
      'bash' 不是内部或外部命令,也不是可运行的程序
      或批处理文件。
      running bdist_wheel
      running build
      running build_ext
      error: [WinError 2] 系统找不到指定的文件。
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for kenlm
  Running setup.py clean for kenlm
Failed to build kenlm
ERROR: Could not build wheels for kenlm, which is required to install pyproject.toml-based projects
@xyiiinexg3
Copy link
Author

what can i do? i downloaded Visual studio2022, Microsoft C++ Build Tools, it does not work.

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