easy_ViTPose icon indicating copy to clipboard operation
easy_ViTPose copied to clipboard

ModuleNotFoundError: No module named 'easy_ViTPose.vit_models.backbone'

Open Yusepp opened this issue 1 year ago • 1 comments

Description

After updating my local copy of the codebase to the latest version (previously working on a version that was 2 months old), I encountered a ModuleNotFoundError during runtime. Specifically, the error points to a missing module within the easy_ViTPose package.

Error Message

ModuleNotFoundError: No module named 'easy_ViTPose.vit_models.backbone'

The backbone folder is present within the vit_models directory when I clone the repository directly from GitHub. However, after installing the package using pip install, the backbone folder does not seem to be included in the installed library.

This issue might be related to how the setup.py is configured, potentially not including the backbone directory during the installation process?

Yusepp avatar Feb 16 '24 13:02 Yusepp

Hello @Yusepp. Yes I always installed with -e flag and did not notice some __init__.py was missing!

Can you try again if it works successfully now? Thank you very much!

JunkyByte avatar Feb 16 '24 14:02 JunkyByte