-
Notifications
You must be signed in to change notification settings - Fork 22
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
你好,安装第三方库的时候出现问题了 #26
Comments
你好,我也遇到了相同的问题,请问您后来解决了吗这个问题 @ffxxy |
正确的报错在上面,大概是 subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.。这个问题的解决方法如下:将setup.py中的“cmdclass={'build_ext': BuildExtension}”这一行改为“cmdclass={'build_ext': BuildExtension.with_options(use_ninja=False)}”, 解释为:pytorch默认使用ninjia作为backend,这里把它禁用掉就好了; |
还有一个报错是:cc1plus: fatal error: /tmp/CFPnn/CFPNet/yolox/layers/csrc/vision.cpp: 没有那个文件或目录。这个问题讲setup.py中路径yolox改为fcp。查看目录可以看到vision.cpp在fcp下不在yolox下。不知道对你有没有帮助 |
你好,安装第三方库的时候出现问题了

The text was updated successfully, but these errors were encountered: