For Docker (Alpine) and Python 3.x this worked for me:
RUN apk update
RUN apk add make automake gcc g++ subversion python3-dev
More Related Contents:
- No module named pkg_resources
- What is a virtualenv, and why should I use one?
- How can I install packages using pip according to the requirements.txt file from a local directory?
- What is the purpose of “pip install –user …”?
- Windows Scipy Install: No Lapack/Blas Resources Found
- How do I update/upgrade pip itself from inside my virtual environment?
- How to install python modules without root access?
- Renaming a virtualenv folder without breaking it
- PyCharm doesn’t recognise installed module
- virtualenv –no-site-packages and pip still finding global packages?
- How to get “python -m venv” to directly install latest pip version
- How to uninstall a package installed with pip install –user
- Upgrade python in a virtualenv
- What is the official “preferred” way to install pip and virtualenv systemwide?
- Difference between ‘python setup.py install’ and ‘pip install’
- Illegal instruction (core dumped) after running import tensorflow
- How to install virtualenv without using sudo?
- How to avoid “Permission denied” when using pip with virtualenv
- Where does pip install its packages?
- Is that a bad idea to use conda and pip install on the same environment?
- SSL backend error when using OpenSSL
- virtualenv: Specifing which packages to use system-wide vs local [duplicate]
- Could not find a version that satisfies the requirement pytz
- Could not build wheels for _ which use PEP 517 and cannot be installed directly – Easy Solution
- Python packages not installing in virtualenv using pip
- Could not find a version that satisfies the requirement for select requirements
- Upgrade Python in a virtual environment
- how to pip uninstall with virtualenv on heroku cedar stack?
- pip: Could not find an activated virtualenv (required)
- Copy complete virtualenv to another pc