简体   繁体   English

使用 pip 安装 lanms 时出现此错误 FileNotFoundError: [WinError 2] 系统找不到指定的文件

[英]when using pip install lanms getting this error FileNotFoundError: [WinError 2] The system cannot find the file specified

I am using windows 10. when I am running pip install lanms getting following error:我正在使用 windows 10。当我运行pip install lanms时出现以下错误:

Collecting lanms
  Downloading lanms-1.0.2.tar.gz (973 kB)
     ---------------------------------------- 973.4/973.4 kB 6.9 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\thitesh\AppData\Local\Temp\pip-install-a3zari9_\lanms_122d99fe74f547e5b860088ca7ae5f8f\setup.py", line 27, in <module>
          if subprocess.call(['make', '--always-make','-C', BASE_DIR]) != 0:
        File "C:\Users\thitesh\anaconda3\lib\subprocess.py", line 349, in call
          with Popen(*popenargs, **kwargs) as p:
        File "C:\Users\thitesh\anaconda3\lib\subprocess.py", line 951, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "C:\Users\thitesh\anaconda3\lib\subprocess.py", line 1420, in _execute_child
          hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
      FileNotFoundError: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

If anyone is still facing an issue with this...I was able to use lanms in the following way:如果有人仍然面临这个问题......我能够通过以下方式使用 lanms:

  1. Download lanms from github ( link )从 github 下载 lanms(链接
  2. Follow the steps mentioned here ( link )按照此处提到的步骤进行操作(链接

this worked for me successfully.这对我很成功。 Now you can import the project in your python project.现在您可以在您的 python 项目中导入该项目。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 FileNotFoundError: [WinError 2] 使用ffmpeg-python时系统找不到指定的文件如何解决? - how to resolve error FileNotFoundError: [WinError 2] The system cannot find the file specified when using ffmpeg-python? FileNotFoundError:[WinError 2]系统找不到指定的文件 - FileNotFoundError: [WinError 2] The system cannot find the file specified Spark Python 错误“FileNotFoundError: [WinError 2] 系统找不到指定的文件” - Spark Python error "FileNotFoundError: [WinError 2] The system cannot find the file specified" 收到以下错误:FileNotFoundError: [WinError 3] 系统找不到指定的路径: - Getting the following Error: FileNotFoundError: [WinError 3] The system cannot find the path specified: FileNotFoundError: [WinError 2] 系统找不到指定的文件: - FileNotFoundError: [WinError 2] The system cannot find the file specified: Chromedriver:“FileNotFoundError:[WinError 2] 系统找不到指定的文件”错误 - Chromedriver: "FileNotFoundError: [WinError 2] The system cannot find the file specified" Error FileNotFoundError: [WinError 2] 系统找不到指定的文件。错误 - FileNotFoundError: [WinError 2] The system cannot find the file specified.Error 如何修复此错误? FileNotFoundError: [WinError 2] 系统找不到指定的文件 - How to fix this error? FileNotFoundError: [WinError 2] The system cannot find the file specified 使用 Openai 的 whisper ai 时出现以下错误:FileNotFoundError: [WinError 2] The system cannot find the file specified - I am getting the following error while using Openai's whisper ai : FileNotFoundError: [WinError 2] The system cannot find the file specified 为什么我收到 FileNotFoundError: [WinError 2] 系统找不到指定的文件:错误 - why im getting FileNotFoundError: [WinError 2] The system cannot find the file specified: error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM