alpine

use 'pip install psutil' on docker image python:3.9.13-alpine3.16 error: linux/ethtool.h not found

use 'pip install psutil' on docker image python:3.9.13-alpine3.16 error: linux/ethtool.h not found Question: I tried to install python module psutil in docker python:3.9.13-alpine3.16 But it reported the following mistake: Building wheels for collected packages: psutil Building wheel for psutil (pyproject.toml) … error error: subprocess-exited-with-error × Building wheel for psutil (pyproject.toml) did not run successfully. │ …

Total answers: 1

How do I install python on alpine linux?

How do I install python on alpine linux? Question: How do I install python3 and python3-pip on an alpine based image (without using a python image)? $ apk add –update python3.8 python3-pip ERROR: unsatisfiable constraints: python3-pip (missing): required by: world[python3-pip] python3.8 (missing): required by: world[python3.8] Asked By: Cutaraca || Source Answers: This is what I …

Total answers: 7

Installing pandas in docker Alpine

Installing pandas in docker Alpine Question: I am having a really hard time trying to install a stable data science package configuration in docker. This should be easier with such mainstream, relevant tools. The following is the Dockerfile that used to work, with a bit of a hack, removing pandas from the package core and …

Total answers: 5

Error: pg_config executable not found when installing psycopg2 on Alpine in Docker

Error: pg_config executable not found when installing psycopg2 on Alpine in Docker Question: I’m trying to build a Flask app using Postgres with Docker. I’d like to connect to an AWS RDS instance of Postgres, but use Docker for my Flask app. However, when trying to set up psycopg2 it runs into an error because …

Total answers: 4

Installing numpy on Docker Alpine

Installing numpy on Docker Alpine Question: I’m trying to install numpy in a docker container based on Alpine 3.1. I’m using the following Dockerfile: FROM alpine:3.1 RUN apk add –update make cmake gcc g++ gfortran RUN apk add –update python py-pip python-dev RUN pip install cython RUN pip install numpy This runs fine until pip …

Total answers: 8

No such file or directory "limits.h" when installing Pillow on Alpine Linux

No such file or directory "limits.h" when installing Pillow on Alpine Linux Question: I’m running alpine-linux on a Raspberry Pi 2. I’m trying to install Pillow via this command: pip install pillow This is the output from the command: Installing collected packages: pillow Running setup.py install for pillow Complete output from command /usr/bin/python -c “import …

Total answers: 6