-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Docker on Debian 11] Could not build wheels for psutil #2192
Comments
Wheels for You can see the changes in mentioned PR also include whatever you need to install for a successful build on Alpine:
IIRC @giampaolo once mentioned he's still not sure whether he'd like to provide Another option would be using a glibc-based base image, like |
Am just confirming here that installing the following |
Would be nice to hear from @giampaolo the rationale behind this. For all modern versions of It saves electricity 🥬 😉. |
@giampaolo I'm running into this issue as well with Python 3.11, Debian 12, psutil 5.9.6. |
Me too, same issue with |
Resolving ps_utils error: ``` giampaolo/psutil#2192 ``` Signed-off-by: Sean P. Goggins <[email protected]>
Fixing PS_UTIL issue on python3.10 gcc musl-dev linux-headers python3-dev giampaolo/psutil#2192 Signed-off-by: Sean P. Goggins <[email protected]>
Can confirm that going from |
Not only adding these lines solved the issue |
Summary
Description
In this Dockerfile, I use the latest version of alpine 3, install python 3, and then attempt to install jupyter. The build fails when attempting to install psutil as a dependency.
Related Issues
I searched for related issues and found the following:
The text was updated successfully, but these errors were encountered: