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 'asone.detectors.easyocr_detector' #29

Open
gprodan opened this issue Mar 5, 2023 · 0 comments
Open

Comments

@gprodan
Copy link

gprodan commented Mar 5, 2023

Hello,
I try to build a docker container for asone based app, but I get some strange behavior.
First, the error:
root@9c83bf0cbc7b:/usr/src/app# python3
Python 3.8.10 (default, Nov 14 2022, 12:59:47)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import asone
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.8/dist-packages/asone/init.py", line 1, in
from .asone import ASOne
File "/usr/local/lib/python3.8/dist-packages/asone/asone.py", line 6, in
import asone.utils as utils
File "/usr/local/lib/python3.8/dist-packages/asone/utils/init.py", line 6, in
from asone.utils.temp_loader import get_detector, get_tracker
File "/usr/local/lib/python3.8/dist-packages/asone/utils/temp_loader.py", line 1, in
from asone.detectors import YOLOv5Detector
File "/usr/local/lib/python3.8/dist-packages/asone/detectors/init.py", line 7, in
from asone.detectors.detector import Detector
File "/usr/local/lib/python3.8/dist-packages/asone/detectors/detector.py", line 13, in
from asone.detectors.easyocr_detector.text_detector import TextDetector
ModuleNotFoundError: No module named 'asone.detectors.easyocr_detector'

second, ls on asone distro show no easyocr_detector folder. (The folder exist on the github.com/augmentedstartups/AS-One)
root@9c83bf0cbc7b:/usr/src/app# ls /usr/local/lib/python3.8/dist-packages/asone/detectors
init.py pycache detector.py utils yolor yolov5 yolov6 yolov7 yolov8 yolox

I used "pip install asone".
I guess it is a misconfigured infos between PyPI and github!?

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

1 participant