python-config auf Alpine Linux installieren
English
Deutsch
Es wird empfohlen, Python 3.x zu verwenden, da Python 2.x veraltet ist!
python-config für Python 3.x installieren
Das python3-dev-apk-Paket stellt /usr/bin/python3-config bereit, daher muss ein Symlink von dort nach /usr/bin/python-config erstellt werden:
install_python3_config.sh
apk update
apk add python3-dev
ln -sf /usr/bin/python3-config /usr/bin/python-configpython-config für Python 2.x installieren
Einfach python2-dev installieren, welches /usr/bin/python-config installiert.
install_python2_config.sh
apk update
apk add python2-devCheck out similar posts by category:
Alpine Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow