Skip to content
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
This repository was archived by the owner on Sep 15, 2026. It is now read-only.

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

Open

Description

@yaofanji

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'

Activity

  1. MangoFF commented on May 13, 2022

    @MangoFF

    ME too!

  2. briliantnugraha commented on May 24, 2022

    @briliantnugraha

    Hi MangoFF (@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions