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: loading 'build.ninja': No such file or directory #1633

Closed
y-ksenia opened this issue Aug 14, 2019 · 2 comments
Closed

ninja: error: loading 'build.ninja': No such file or directory #1633

y-ksenia opened this issue Aug 14, 2019 · 2 comments

Comments

@y-ksenia
Copy link

y-ksenia commented Aug 14, 2019

Hi!

I faced problem with using ninja on Linux for pytorch.
I used binary and put it into the anaconda3/bin/ directory. And when I run ninja -v I got error

ninja: error: loading 'build.ninja': No such file or directory

>>> torch.__version__
'1.2.0'

conda info:

     active environment : base
    active env location : /home/y-ksenia/anaconda3
            shell level : 1
       user config file : /home/y-ksenia/.condarc
 populated config files : 
          conda version : 4.5.11
    conda-build version : 3.15.1
         python version : 3.7.4.final.0
       base environment : /home/y-ksenia/anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/linux-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /home/y-ksenia/anaconda3/pkgs
                          /home/y-ksenia/.conda/pkgs
       envs directories : /home/y-ksenia/anaconda3/envs
                          /home/y-ksenia/.conda/envs
               platform : linux-64
             user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.4 Linux/4.4.171-70.1 ubuntu/18.04 glibc/2.27
                UID:GID : 77727:22420
             netrc file : None
           offline mode : False

What I am doing wrong?

PS: tried to build my own binary running ./configure.py --bootstrap, it works if I run ./ninja, so how to run it in conda?

@y-ksenia
Copy link
Author

The problem was in other thing, not ninja.

@dzyjjpy
Copy link

dzyjjpy commented Feb 26, 2020

@yagafarova Hi I have same issue. How do you solve the error?
could you pls share your experience? Here is my description.
HRNet/HRNet-Semantic-Segmentation#104

Thanks

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