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

ninja: error: build.ninja:3: lexing error #171

Open
yuan-kai-design opened this issue Aug 13, 2022 · 1 comment
Open

ninja: error: build.ninja:3: lexing error #171

yuan-kai-design opened this issue Aug 13, 2022 · 1 comment

Comments

@yuan-kai-design
Copy link

ase\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: error: build.ninja:3: lexing error

Traceback (most recent call last):
File "E:\anaconda3_python38\envs\mmdet\lib\site-packages\torch\utils\cpp_extension.py", line 1667, in _run_ninja_build
subprocess.run(
File "E:\anaconda3_python38\envs\mmdet\lib\subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
I want to know how to solve this problem

@meixiangzhang
Copy link

I have encountered the same problem. Have you resolved it? How did it solve it? Thank you!

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