-
Notifications
You must be signed in to change notification settings - Fork 683
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
[Bug]: Python3.12 Installation failed #2279
Comments
For anyone who wants to fix this: imp became importlib in Python 3.12 https://docs.python.org/3/whatsnew/3.12.html#imp |
The problem now is that pathtools are used, and pathtools reference imp |
ah you're right! the issue comes with the wandb version. wandb/wandb#6446 |
Collecting wandb<=0.15.9,>=0.12.17 It doesn't seem to work, and anomalib itself will install the specified version "wandb-0.15.9-py3-none-any" |
@ashwinvaidya17, can you remind us what was the breaking change in newer versions of wandb? |
I'm not sure if replacing wandb works, but now under 3.12 it's because the wandb version used references the old pathtools, which in turn references the error caused by imp |
Describe the bug
python 3.12 has an error during installation and cannot be installed successfully
Dataset
N/A
Model
N/A
Steps to reproduce the behavior
Reproduction failed
or
or
Only this command was successful
OS information
OS information:
Expected behavior
Hope for a fix
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
Logs
Code of Conduct
The text was updated successfully, but these errors were encountered: