Please change this import as: import os
as it is done in all the rest of the code of ninja, specially because we are using "path" as a variable in other parts of the code, so it's better to avoid confusion