尝试将AudioCraft安装到Linux Mint 21.2,但出现错误:subprocess-exited-with-error

a64a0gku  于 5个月前  发布在  Linux
关注(0)|答案(1)|浏览(72)

我按照GitHub的安装指南安装了PyTorch2.0、Python3.9和ffmpeg,一切都很顺利,直到我尝试通过命令安装实际的AudioCraft
第一个月
它开始安装,但给出了这个错误:

Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-sqg7114f/xformers_15b652520912479eb54a35e13383f8c5/setup.py", line 239, in <module>
          ext_modules=get_extensions(),
        File "/tmp/pip-install-sqg7114f/xformers_15b652520912479eb54a35e13383f8c5/setup.py", line 157, in get_extensions
          raise RuntimeError(
      RuntimeError: CUTLASS submodule not found. Did you forget to run `git submodule update --init --recursive` ?
      [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.

字符串
我试着寻找解决方案,发现了一些类似的情况。我试图应用他们的解决方案,但没有成功,耗尽了精力和知识。(我只是非编码器Linux Mint爱好用户。)
能做些什么呢?

6l7fqoea

6l7fqoea1#

你可以使用conda来安装xformer,它确实有效。

conda install xformers -c xformers

字符串

相关问题