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

no module named distutils #561

Closed
1 of 2 tasks
maxvaneck opened this issue Aug 5, 2024 · 3 comments
Closed
1 of 2 tasks

no module named distutils #561

maxvaneck opened this issue Aug 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@maxvaneck
Copy link

Search before asking

  • I have searched the Inference issues and found no similar bug report.

Bug

i tried to install inference on a fresh virtual environment using both the built in package manager from pycharm and simply pip3 install inference both gave me the error "no module named distutils " attached is the full log
errorlog.txt

Environment

version:
inference 0.15.2
hardware:
x86 based desktop
OS:
ubuntu 24.04
python version:
3.12.3

Minimal Reproducible Example

create a new virtal environment on ubunntu 14.04
run pip3 install inference

Additional

after googling this seems to be an issue with python 3.12 removing distutils. in which case maybe this will help someone else running into the same problem. so this is not technically a bug but maybe something to work around
https://peps.python.org/pep-0632/

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@maxvaneck maxvaneck added the bug Something isn't working label Aug 5, 2024
@iurisilvio
Copy link
Contributor

See #433.

Inference doesn't support Python 3.12 yet because of their dependencies.

@maxvaneck
Copy link
Author

i confirmed this using ubuntu 22.04 using python 3.10.12 this works just fine

@iurisilvio
Copy link
Contributor

Thanks! Closing this issue in favor of #433.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants