Is there a package for Alpine that allows me to install PyCrypto for Python 3?
After having problems with pip3 install pycrypto I came across this post that explains how to install numpy in Alpine using apk add py-numpy@testing . PyCrypto can also be installed for Python2.7 using apk add py-crypto . However, I cannot figure out how to call pycrypto for Python3 or even if this package exists.
As an alternative solution, I tried installing the C gcc compiler using apk add gcc so that the configuration tools in pip3 install pycrypto could compile. But when I run this command with gcc already, it causes a fatal error:
... running build_ext running build_configure checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/tmp/pip-build-2TivSm/pycrypto': configure: error: C compiler cannot create executables ...
Is there a way to compile Python3 modules inside Alpine?
Rj
source share