Skip to content

ModuleNotFoundError: No module named 'labelme.logger' #11

@daisatojp

Description

@daisatojp

Provide environment information

$ python --version
Python 3.10.12

$ pip list
Package            Version
------------------ -----------
annotated-types    0.7.0
backports.tarfile  1.2.0
beautifulsoup4     4.13.3
certifi            2025.1.31
cffi               1.17.1
charset-normalizer 3.4.1
click              8.1.8
coloredlogs        15.0.1
contourpy          1.3.1
cryptography       44.0.1
cycler             0.12.1
docutils           0.21.2
exceptiongroup     1.2.2
filelock           3.17.0
flatbuffers        25.2.10
fonttools          4.56.0
gdown              5.2.0
github2pypi        1.0.0
humanfriendly      10.0
id                 1.5.0
idna               3.10
imageio            2.37.0
imgviz             1.7.6
importlib_metadata 8.6.1
iniconfig          2.0.0
jaraco.classes     3.4.0
jaraco.context     6.0.1
jaraco.functools   4.1.0
jeepney            0.8.0
keyring            25.6.0
kiwisolver         1.4.8
labelme            5.6.1
lazy_loader        0.4
loguru             0.7.3
markdown-it-py     3.0.0
matplotlib         3.10.0
mdurl              0.1.2
more-itertools     10.6.0
mpmath             1.3.0
natsort            8.4.0
networkx           3.4.2
nh3                0.2.20
numpy              2.2.2
onnxruntime        1.20.1
osam               0.2.2
packaging          24.2
pillow             11.1.0
pip                22.0.2
pluggy             1.5.0
protobuf           5.29.3
pycparser          2.22
pydantic           2.10.6
pydantic_core      2.27.2
Pygments           2.19.1
pyparsing          3.2.1
PyQt5              5.15.11
PyQt5-Qt5          5.15.16
PyQt5_sip          12.17.0
PySocks            1.7.1
pytest             8.3.4
pytest-qt          4.4.0
python-dateutil    2.9.0.post0
PyYAML             6.0.2
QtPy               2.4.3
readme_renderer    44.0
requests           2.32.3
requests-toolbelt  1.0.0
rfc3986            2.0.0
rich               13.9.4
ruff               0.1.9
scikit-image       0.25.1
scipy              1.15.1
SecretStorage      3.3.3
setuptools         59.6.0
six                1.17.0
soupsieve          2.6
sympy              1.13.3
termcolor          2.5.0
tifffile           2025.1.10
tomli              2.2.1
tqdm               4.67.1
twine              6.1.0
typing_extensions  4.12.2
urllib3            2.3.0
zipp               3.21.0

What OS are you using?

Ubuntu

Describe the Bug

labelme.loggerが見つからない。

Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/media/tan/repo/labelquad/labelme/__main__.py", line 9, in <module>
    from app import MainWindow
  File "/media/tan/repo/labelquad/labelme/app.py", line 25, in <module>
    from labelme.logger import logger
ModuleNotFoundError: No module named 'labelme.logger'

logging関連の修正があったようだ。

wkentaro@b9d74b8

Expected Behavior

No response

To Reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions