pip install python-mbedtls -i https://pypi.python.org/simple Looking in indexes: https://pypi.python.org/simple Collecting python-mbedtls Downloading https://files.pythonhosted.org/packages/40/72/705b5d48b85dfe46cb742068ca3cf6aef129f27811279e8b821672fb5bc5/python-mbedtls-0.18.1.tar.gz (116kB) |████████████████████████████████| 122kB 407kB/s Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing wheel metadata ... done Requirement already satisfied: certifi in ./anaconda3/envs/web/lib/python3.7/site-packages (from python-mbedtls) (2019.3.9) Building wheels for collected packages: python-mbedtls Building wheel for python-mbedtls (PEP 517) ... error ERROR: Complete output from command /Users/alan/anaconda3/envs/web/bin/python /Users/alan/anaconda3/envs/web/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/2f/c__5qxsx6hd3glrkxhjf2_km0000gn/T/tmpi6xjl9hz: ERROR: running bdist_wheel running build running build_py creating build-3.7.3 creating build-3.7.3/lib.macosx-10.7-x86_64-3.7 creating build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls copying src/mbedtls/__init__.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls copying src/mbedtls/hash.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls copying src/mbedtls/secrets.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls copying src/mbedtls/hmac.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls creating build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/ARIA.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/ARC4.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/AES.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/__init__.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/DES3.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/Camellia.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/CHACHA20.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/Blowfish.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/DES3dbl.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher copying src/mbedtls/cipher/DES.py -> build-3.7.3/lib.macosx-10.7-x86_64-3.7/mbedtls/cipher running build_ext cythoning src/mbedtls/_platform.pyx to build-3.7.3/temp.macosx-10.7-x86_64-3.7/pyrex/mbedtls/_platform.c creating build-3.7.3/temp.macosx-10.7-x86_64-3.7 creating build-3.7.3/temp.macosx-10.7-x86_64-3.7/pyrex creating build-3.7.3/temp.macosx-10.7-x86_64-3.7/pyrex/mbedtls building 'mbedtls._platform' extension creating build-3.7.3/temp.macosx-10.7-x86_64-3.7/build-3.7.3 creating build-3.7.3/temp.macosx-10.7-x86_64-3.7/build-3.7.3/temp.macosx-10.7-x86_64-3.7 creating build-3.7.3/temp.macosx-10.7-x86_64-3.7/build-3.7.3/temp.macosx-10.7-x86_64-3.7/pyrex creating build-3.7.3/temp.macosx-10.7-x86_64-3.7/build-3.7.3/temp.macosx-10.7-x86_64-3.7/pyrex/mbedtls gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/alan/anaconda3/envs/web/include -arch x86_64 -I/Users/alan/anaconda3/envs/web/include -arch x86_64 -I/Users/alan/anaconda3/envs/web/include/python3.7m -c build-3.7.3/temp.macosx-10.7-x86_64-3.7/pyrex/mbedtls/_platform.c -o build-3.7.3/temp.macosx-10.7-x86_64-3.7/build-3.7.3/temp.macosx-10.7-x86_64-3.7/pyrex/mbedtls/_platform.o build-3.7.3/temp.macosx-10.7-x86_64-3.7/pyrex/mbedtls/_platform.c:596:10: fatal error: 'mbedtls/platform_util.h' file not found #include "mbedtls/platform_util.h" ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for python-mbedtls Running setup.py clean for python-mbedtls Failed to build python-mbedtls ERROR: Could not build wheels for python-mbedtls which use PEP 517 and cannot be installed directly