BtcDet icon indicating copy to clipboard operation
BtcDet copied to clipboard

RuntimeError:Ninja is required to load C++ extensions

Open 123jyw opened this issue 2 years ago • 3 comments

When you run this statement ,python -m btcdet.datasets.multifindbestfit , the following error occurs No module named 'vasualize_utils'. But I have vasualize_utils.py.

I solved this problem by adding a path, but the following problem arose。

123jyw avatar May 12 '22 07:05 123jyw

When you run this statement ,python -m btcdet.datasets.multifindbestfit , the following error occurs RuntimeError:Ninja is required to load C++ extensions.

123jyw avatar May 14 '22 08:05 123jyw

Try: pip install Ninja

DheerajYarlagadda avatar Oct 13 '22 14:10 DheerajYarlagadda

If you have already installed Ninja but still facing the error: sometimes it can be also due to permission issues, would recommend navigating to site packages and checking the permissions of ninja packages.

DheerajYarlagadda avatar Oct 13 '22 20:10 DheerajYarlagadda