diff --git a/INSTALL.rst b/INSTALL.rst index 2e8a1cd51..e3dab9cb4 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -27,7 +27,7 @@ RedHat / CentOS:: Alpine:: - sudo apk add gcc python3-dev + sudo apk add gcc python3-dev musl-dev linux-headers pip install --no-binary :all: psutil Windows (build) diff --git a/setup.py b/setup.py index 1995fa055..ae25116ae 100755 --- a/setup.py +++ b/setup.py @@ -473,7 +473,7 @@ def main(): elif which('rpm'): missdeps("sudo yum install gcc %s%s-devel" % (pyimpl, py3)) elif which('apk'): - missdeps("sudo apk add gcc %s%s-dev" % (pyimpl, py3)) + missdeps("sudo apk add gcc %s%s-dev musl-dev linux-headers" % (pyimpl, py3)) elif MACOS: print(hilite("XCode (https://developer.apple.com/xcode/) " "is not installed", color="red"), file=sys.stderr)