ContraD icon indicating copy to clipboard operation
ContraD copied to clipboard

How to run this code in Colab? or #RuntimeError: Ninja is required to load C++ extensions

Open Linwei94 opened this issue 3 years ago • 2 comments

I install dependencies on Colab via pip. pip install -r environment_pip.txt

However, it may throw error like:

RuntimeError: Ninja is required to load C++ extensions

Linwei94 avatar Aug 07 '21 01:08 Linwei94

You can simply install Ninja by hand again with pip install Ninja

Linwei94 avatar Aug 07 '21 01:08 Linwei94

Hi @DylanTao94,

Thanks for reporting this. I will check it soon and update the dependency file to include Ninja as you suggested.

jh-jeong avatar Aug 10 '21 06:08 jh-jeong