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

Setup issue with mask2former #19

Open
ziqingcheryl opened this issue May 12, 2023 · 6 comments
Open

Setup issue with mask2former #19

ziqingcheryl opened this issue May 12, 2023 · 6 comments

Comments

@ziqingcheryl
Copy link

  running build_ext
  building 'MultiScaleDeformableAttention' extension
  Emitting ninja build file //ODISE/third_party/Mask2Former/build/temp.linux-x86_64-cpython-39/build.ninja...
  error: [Errno 2] No such file or directory: '//ODISE/third_party/Mask2Former/build/temp.linux-x86_64-cpython-39/build.ninja'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> mask2former

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Is the error related to ninja build?

@Xuanbai-Chen
Copy link

same problem!

@Xuanbai-Chen
Copy link

same problem!

I solved the problem using ninja-build/ninja#1463 (comment)

@gaomingqi
Copy link

same problem. I solved it by manually creating the temporary directory. For example, in @ziqingcheryl 's case:

mkdir //ODISE/third_party/Mask2Former/build/temp.linux-x86_64-cpython-39

, and then run pip install -e . again. don't know why, but it indeed works in my case.

@LiWentomng
Copy link

same problem. I solved it by manually creating the temporary directory. For example, in @ziqingcheryl 's case:

mkdir //ODISE/third_party/Mask2Former/build/temp.linux-x86_64-cpython-39

, and then run pip install -e . again. don't know why, but it indeed works in my case.

It works. Thanks.

@YangLi309
Copy link

same problem. I solved it by manually creating the temporary directory. For example, in @ziqingcheryl 's case:

mkdir //ODISE/third_party/Mask2Former/build/temp.linux-x86_64-cpython-39

, and then run pip install -e . again. don't know why, but it indeed works in my case.

Appreciate your solution. It works on my Linux workstation as well!

@ruiguoguo
Copy link

ruiguoguo commented Jul 25, 2024

i tried this, and worked for me
`
cd ODISE/rhird_party/Mask2Former

python setup.py install

cd ODISE

pip install -e .
`

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

6 participants