AI软件下载
有趣网站推荐及实用软件下载

Running setup.py install for PyMCubes errorerror:subprocess-exited-with-error解决方法

python应用安装时报错,部分信息如下:

DEPRECATION: torch_efficient_distloss is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for torch_efficient_distloss … done
DEPRECATION: PyMCubes is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for PyMCubes … error
error: subprocess-exited-with-error

× Running setup.py install for PyMCubes did not run successfully.
│ exit code: 1
╰─> [392 lines of output]

error: command ‘E:\Microsoft\2022\VC\Tools\MSVC\14.36.32532\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: legacy-install-failure

× Encountered error while trying to install package.
╰─> PyMCubes

这个问题主要是关于PyMCubes的安装错误,报错信息中也给出了解决方法就是使用–use-pep517参数,可以单独安装一下PyMCubes模块,安装命令如下:

pip install --use-pep517 PyMCubes

如果Python应用依赖未安装完成的话,可在requirements.txt里删除PyMCubes,然后重新安装依赖列表

pip install -r requirements.txt

电脑不给力运行不了?试试高配云电脑>>
如需1对1人工答疑支持
赞(0) 打赏
软件无法使用?点击查看常见问题说明>>

最近更新

项目实操变现思路分享之AI绘画-诺瓦小站

项目实操变现思路分享之AI绘画

本次和大家分享的实操项目变现思路是AI绘画相关的,虽然AI绘画已经火了很久了,但是仍有很多玩法,有了其它一些AI工具的加持,操作起来也更容易,项目具体内容请看PDF文档。 教程链接: https://afdian.com/p/982e793...

项目实操变现思路分享之AI视频-诺瓦小站

项目实操变现思路分享之AI视频

目前AI视频生成技术有了比较大的进步,AI视频现在已经很流畅丝滑,视频效果也很好,用户也比较喜欢看。各短视频平台AI视频的流量都很大,我们可以通过AI工具创建AI视频来获取流量变现,操作简单上手较快。下面分享一下AI视频的实操变现思路。 项...

AI软件实战变现思路分享之AI音乐-诺瓦小站

AI软件实战变现思路分享之AI音乐

本次和大家分享的AI软件实战变现项目是AI音乐相关的,前两天和大家分享了两个AI音乐生成软件,顺便接着分享一下AI音乐的实战变现思路,项目实操教程下载链接: https://afdian.com/p/99e81c38fe2f11efb2b4...

觉得文章对你有帮助就打赏一下作者

非常感谢你的打赏,我将有更多的动力继续提供优质内容,让我们一起创建更加美好的世界!

支付宝扫一扫

微信扫一扫