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

ModuleNotFoundError: No module named 'dyhead._C' #42

Open
yaofanji opened this issue Apr 14, 2022 · 2 comments
Open

ModuleNotFoundError: No module named 'dyhead._C' #42

yaofanji opened this issue Apr 14, 2022 · 2 comments

Comments

@yaofanji
Copy link

Thanks for sharing your great work!But I encountered this error for a long time and can't solve it.
Traceback (most recent call last): File "train_net.py", line 33, in <module> from dyhead import add_dyhead_config File "/user-data/DynamicHead-master/dyhead/__init__.py", line 2, in <module> from .dyhead import DyHead File "/user-data/DynamicHead-master/dyhead/dyhead.py", line 7, in <module> from .deform import ModulatedDeformConv File "/user-data/DynamicHead-master/dyhead/deform.py", line 8, in <module> import dyhead._C as _C ModuleNotFoundError: No module named 'dyhead._C'

@MangoFF
Copy link

MangoFF commented May 13, 2022

ME too!

@briliantnugraha
Copy link

briliantnugraha commented May 24, 2022

Hi @MangoFF @yaofanji you need to do the step mentioned in the repo, by doing
pip install -e . (if you are in the DynamicHead folder) or pip install -e DynamicHead (if you are outside of the repo's folder).

FYI, I am only able to build/install/execute the above command successfully on linux system (ubuntu), whereas it failed on Win10.

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

3 participants