-
Notifications
You must be signed in to change notification settings - Fork 766
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: Docker creating not working with some python versions #4603
Comments
why do you need python3-disutils? disutils is considered deprecated in 3.10 onwards iirc |
Its by default in the docker file created when you run the code. I didnt put those requirements.
El 21-03-2024 3:37 a. m., Aaron Pham ***@***.***> escribió:
why do you need python3-disutils? disutils is considered deprecated in 3.10 onwards iirc
—
Reply to this email directly, view it on GitHub<#4603 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEM47OCWI54UHZENNLRAUPDYZJ5ZPAVCNFSM6AAAAABE73BVCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJRGMYTKNZRGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
What's the content of Okay, based on your config, we picked |
It seems like you put distutils there in the |
Yes, because my thought was to see if I include it, the error would go. I ll close it, since I ve tried again with python 3.10 and 3.11 and its working.
El 21-03-2024 10:54 p. m., Aaron Pham ***@***.***> escribió:
It seems like you put distutils there in the bentofile.yaml?
—
Reply to this email directly, view it on GitHub<#4603 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEM47OG2G6KY3BUXIE45NCDYZOFN7AVCNFSM6AAAAABE73BVCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJUGE3TENZUGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
It worked later, don't know why it didn't work before. |
Describe the bug
I run "bentoml build --containerize", the error is (it happens for 3.10, 3.11):
24.56 E: Unable to locate package python3.10-dev
24.56 E: Couldn't find any package by glob 'python3.10-dev'
24.56 E: Couldn't find any package by regex 'python3.10-dev'
24.56 E: Unable to locate package python3.10-distutils
24.56 E: Couldn't find any package by glob 'python3.10-distutils'
24.56 E: Couldn't find any package by regex 'python3.10-distutils'
**BentoML yaml
docker:
distro: debian
python_version: "3.9"
cuda_version: "12"
system_packages:
- python3-distutils
- ffmpeg
- git
To reproduce
No response
Expected behavior
No response
Environment
python 3.10 and 3.11, it works with python 3.9
The text was updated successfully, but these errors were encountered: