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

RuntimeError: Ninja is required to load C++ extensions #4

Open
xianming-gu opened this issue Jul 23, 2024 · 4 comments
Open

RuntimeError: Ninja is required to load C++ extensions #4

xianming-gu opened this issue Jul 23, 2024 · 4 comments

Comments

@xianming-gu
Copy link

作者您好 Linux系统下虚拟环境安装了ninja库的情况下仍然报错
RuntimeError: Ninja is required to load C++ extensions
请问有什么解决方法吗

@Yaziwel
Copy link
Owner

Yaziwel commented Jul 23, 2024

作者您好 Linux系统下虚拟环境安装了ninja库的情况下仍然报错 RuntimeError: Ninja is required to load C++ extensions 请问有什么解决方法吗

应该就是这个问题吧OpenGVLab/Vision-RWKV#23
安装或者更新Ninja就行:pip install ninja --upgrade

@xianming-gu
Copy link
Author

作者您好 Linux系统下虚拟环境安装了ninja库的情况下仍然报错 RuntimeError: Ninja is required to load C++ extensions 请问有什么解决方法吗

应该就是这个问题吧OpenGVLab/Vision-RWKV#23 安装或者更新Ninja就行:pip install ninja --upgrade

我尝试了 但还是报错

@Yaziwel
Copy link
Owner

Yaziwel commented Jul 23, 2024

作者您好 Linux系统下虚拟环境安装了ninja库的情况下仍然报错 RuntimeError: Ninja is required to load C++ extensions 请问有什么解决方法吗

应该就是这个问题吧OpenGVLab/Vision-RWKV#23 安装或者更新Ninja就行:pip install ninja --upgrade

我尝试了 但还是报错

你加RWKV技术讨论QQ群询问一下:325154699

@xianming-gu
Copy link
Author

作者您好 Linux系统下虚拟环境安装了ninja库的情况下仍然报错 RuntimeError: Ninja is required to load C++ extensions 请问有什么解决方法吗

应该就是这个问题吧OpenGVLab/Vision-RWKV#23 安装或者更新Ninja就行:pip install ninja --upgrade

我尝试了 但还是报错

我根据这篇博客的方法解决了该问题
https://blog.csdn.net/qq_38964360/article/details/135224551
感谢您的回复

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

2 participants