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 'anomalib.utils.callbacks' #125

Closed
hqxiao opened this issue Feb 28, 2022 · 1 comment · Fixed by #174
Closed

ModuleNotFoundError: No module named 'anomalib.utils.callbacks' #125

hqxiao opened this issue Feb 28, 2022 · 1 comment · Fixed by #174
Assignees
Labels
Package Further information is requested
Milestone

Comments

@hqxiao
Copy link

hqxiao commented Feb 28, 2022

Describe the bug
-anomalib package install error, seems the package released do not include all function of utils file

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://pypi.org/project/anomalib/0.2.4/#files download the file anomalib-0.2.4-py3-none-any.whl
  2. pip install anomalib-0.2.4-py3-none-any.whl
  3. cd anomalib
  4. python tools/train.py
  5. See error ModuleNotFoundError: No module named 'anomalib.utils.callbacks'

Expected behavior
-seems the package released on pypi.org do not include all function of the git file anomalib,such as utils file.

@samet-akcay
Copy link
Contributor

Hi @hqxiao, thanks for reporting this. We are aware of this. This is in fact, due to some on-going internal integration efforts. We'll be fixing this shortly. Meanwhile you could install the library via editable pip install as shown below:

git clone https://github.com/openvinotoolkit/anomalib.git
cd anomalib
pip install -e .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package Further information is requested
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants