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

Installation issues for Mask Former #11

Closed
DevikalyanDas opened this issue Mar 1, 2024 · 2 comments
Closed

Installation issues for Mask Former #11

DevikalyanDas opened this issue Mar 1, 2024 · 2 comments

Comments

@DevikalyanDas
Copy link

Hello @Junyi42 ,
Thanks for your contribution. I am facing the an installation issue when running the "pip install -e ." command. This is giving the error as follows:

Emitting ninja build file /BS/keytr_neus/work/supplementary/sd-dino/third_party/Mask2Former/build/temp.linux-x86_64-cpython-39/build.ninja...

error: [Errno 2] No such file or directory: '/BS/keytr_neus/work/supplementary/sd-dino/third_party/Mask2Former/build/temp.linux-x86_64-cpython-39/build.ninja'

ERROR: Failed building wheel for mask2former

ERROR: Could not build wheels for mask2former, which is required to install pyproject.toml-based projects

Please help me in this

@Junyi42
Copy link
Owner

Junyi42 commented Mar 1, 2024

Hi,

Thanks for your interest in our work!

error: [Errno 2] No such file or directory: '/BS/keytr_neus/work/supplementary/sd-dino/third_party/Mask2Former/build/temp.linux-x86_64-cpython-39/build.ninja'

For this issue, you could check whether there exists a folder third_party/Mask2Former/build/temp.linux-x86_64-cpython-39, and you could create one if not. Then, rerun the pip install -e . command, and it might avoid this issue.

ERROR: Could not build wheels for mask2former, which is required to install pyproject.toml-based projects

I'm sorry I haven't met this issue before. After a quick search on Google, a potential solution could be pip install pyproject-toml and pip install setuptools wheel. Hope this could address your issue.

Best.

@DevikalyanDas
Copy link
Author

Hello, thanks for your quick reply. Yes, creating the folder in third party actually removed the error. Thanks a lot.

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