acecilia/OpenWRTInvasion

a lot errors when run pip3 install -r requirements.txt on my macOS 10.15.7

Closed this issue · 5 comments

iovoz commented

Last login: Mon Sep 28 03:29:02 on console
riovo@Rs-MacBook-Pro ~ % python3
Python 3.8.2 (default, Aug 25 2020, 09:23:57)
[Clang 12.0.0 (clang-1200.0.32.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

KeyboardInterrupt

^D
riovo@Rs-MacBook-Pro ~ % pip3 --version
pip 19.2.3 from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip (python 3.8)
riovo@Rs-MacBook-Pro ~ % telnet
telnet> %
riovo@Rs-MacBook-Pro ~ % cd Desktop/OpenWRTInvasion
riovo@Rs-MacBook-Pro OpenWRTInvasion % pwd
/Users/riovo/Desktop/OpenWRTInvasion
riovo@Rs-MacBook-Pro OpenWRTInvasion % ls -all
total 104
drwxr-xr-x@ 15 riovo staff 480 Sep 28 02:18 .
drwx------@ 6 riovo staff 192 Sep 28 03:00 ..
-rw-r--r--@ 1 riovo staff 8196 Sep 28 02:30 .DS_Store
drwxr-xr-x@ 12 riovo staff 384 Sep 28 02:17 .git
-rw-r--r-- 1 riovo staff 7 Sep 28 02:16 .gitignore
-rw-r--r--@ 1 riovo staff 8575 Sep 28 02:16 README.md
drwxr-xr-x@ 6 riovo staff 192 Sep 28 02:17 extras
drwxr-xr-x@ 4 riovo staff 128 Sep 28 02:17 firmwares
drwxr-xr-x@ 5 riovo staff 160 Sep 28 02:16 readme
-rw-r--r--@ 1 riovo staff 290 Sep 28 02:18 readme-roy.txt
-rw-r--r--@ 1 riovo staff 2852 Sep 28 02:16 remote_command_execution_vulnerability.py
-rw-r--r--@ 1 riovo staff 18 Sep 28 02:16 requirements.txt
-rw-r--r--@ 1 riovo staff 1996 Sep 28 02:16 script.sh
-rw-r--r--@ 1 riovo staff 838 Sep 28 02:16 set_english.py
-rw-r--r--@ 1 riovo staff 1856 Sep 28 02:16 speedtest_urls_template.xml
riovo@Rs-MacBook-Pro OpenWRTInvasion % pip3 install -r requirements.txt
Collecting pycrypto (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz
Collecting requests (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/45/1e/0c169c6a5381e241ba7404532c16a21d86ab872c9bed8bdcd4c423954103/requests-2.24.0-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests->-r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/9f/f0/a391d1463ebb1b233795cabfc0ef38d3db4442339de68f847026199e69d7/urllib3-1.25.10-py2.py3-none-any.whl
Collecting idna<3,>=2.5 (from requests->-r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
Collecting chardet<4,>=3.0.2 (from requests->-r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Building wheels for collected packages: pycrypto
Building wheel for pycrypto (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-install-p9qp1zro/pycrypto/setup.py'"'"'; file='"'"'/private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-install-p9qp1zro/pycrypto/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-wheel-beiq7txo --python-tag cp38
cwd: /private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-install-p9qp1zro/pycrypto/
Complete output (299 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.14.6-x86_64-3.8
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto
copying lib/Crypto/pct_warnings.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto
copying lib/Crypto/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/MD2.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA512.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA384.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA256.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/hashalgo.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA224.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/MD4.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/HMAC.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/MD5.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/RIPEMD.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/CAST.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/ARC4.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/AES.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/DES3.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/XOR.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/Blowfish.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/ARC2.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/DES.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/blockalgo.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/py3compat.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/number.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/winrandom.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/_number_new.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/RFC1751.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/randpool.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/Counter.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/asn1.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random
copying lib/Crypto/Random/_UserFriendlyRNG.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random
copying lib/Crypto/Random/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random
copying lib/Crypto/Random/random.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/SHAd256.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaGenerator.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaAccumulator.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/posix.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/rng_base.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/fallback.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest
copying lib/Crypto/SelfTest/st_common.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest
copying lib/Crypto/SelfTest/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_AES.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_CAST.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC4.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES3.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/common.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC2.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_Blowfish.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_XOR.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA224.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD2.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_RIPEMD.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD4.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/common.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA512.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD5.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA384.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA256.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_HMAC.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_AllOrNothing.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_rfc1751.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_chaffing.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_KDF.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_RSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_importKey.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_DSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_ElGamal.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_rpoolcompat.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_random.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test__UserFriendlyRNG.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_posix.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_generic.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_fallback.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_nt.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_winrandom.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_winrandom.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_pss.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Signature
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
copying lib/Crypto/Protocol/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
copying lib/Crypto/Protocol/AllOrNothing.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
copying lib/Crypto/Protocol/KDF.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
copying lib/Crypto/Protocol/Chaffing.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/_slowmath.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/RSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/pubkey.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/_DSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/_RSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/DSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Signature
copying lib/Crypto/Signature/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Signature
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
running build_configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for __gmpz_init in -lgmp... no
checking for __gmpz_init in -lmpir... no
checking whether mpz_powm is declared... no
checking whether mpz_powm_sec is declared... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memmove... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating src/config.h
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Hash._MD2' extension
creating build/temp.macosx-10.14.6-x86_64-3.8
creating build/temp.macosx-10.14.6-x86_64-3.8/src
xcrun -sdk macosx clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -fwrapv -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/MD2.c -o build/temp.macosx-10.14.6-x86_64-3.8/src/MD2.o
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:32:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
#error Unsupported architecture
^
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:33:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:27:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
typedef __int64_t __darwin_blkcnt_t; /* total blocks /
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_blksize_t; /
preferred block size /
^
note: '__int128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_dev_t; /
dev_t /
^
note: '__int128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_gid_t; /
[???] process and group IDs /
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_id_t; /
[XSI] pid_t, uid_t, or gid_t*/
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes /
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /
Used by mach /
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
typedef __uint16_t __darwin_mode_t; /
[???] Some file attributes /
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
typedef __int64_t __darwin_off_t; /
[???] Used for file sizes /
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_pid_t; /
[???] process and group IDs /
^
note: '__int128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_sigset_t; /
[???] signal set /
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_suseconds_t; /
[???] microseconds /
^
note: '__int128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_uid_t; /
[???] user IDs /
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_useconds_t; /
[???] microseconds */
^
note: '__uint128_t' declared here
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_wctype_t;
^
note: '__uint128_t' declared here
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:64:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:9: error: unknown type name '__darwin_size_t'
typedef __darwin_size_t size_t;
^
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:152:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h:30:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'xcrun' failed with exit status 1


ERROR: Failed building wheel for pycrypto
Running setup.py clean for pycrypto
Failed to build pycrypto
Installing collected packages: pycrypto, certifi, urllib3, idna, chardet, requests
Running setup.py install for pycrypto ... error
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-install-p9qp1zro/pycrypto/setup.py'"'"'; file='"'"'/private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-install-p9qp1zro/pycrypto/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-record-y1dc7wiu/install-record.txt --single-version-externally-managed --compile
cwd: /private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-install-p9qp1zro/pycrypto/
Complete output (244 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.14.6-x86_64-3.8
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto
copying lib/Crypto/pct_warnings.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto
copying lib/Crypto/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/MD2.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA512.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA384.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA256.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/hashalgo.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/SHA224.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/MD4.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/HMAC.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/MD5.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
copying lib/Crypto/Hash/RIPEMD.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Hash
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/CAST.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/ARC4.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/AES.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_v1_5.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/DES3.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/XOR.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/Blowfish.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/ARC2.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/PKCS1_OAEP.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/DES.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
copying lib/Crypto/Cipher/blockalgo.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Cipher
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/py3compat.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/number.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/winrandom.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/_number_new.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/RFC1751.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/randpool.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/Counter.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
copying lib/Crypto/Util/asn1.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Util
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random
copying lib/Crypto/Random/_UserFriendlyRNG.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random
copying lib/Crypto/Random/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random
copying lib/Crypto/Random/random.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/SHAd256.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaGenerator.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
copying lib/Crypto/Random/Fortuna/FortunaAccumulator.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/Fortuna
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/posix.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/rng_base.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
copying lib/Crypto/Random/OSRNG/fallback.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Random/OSRNG
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest
copying lib/Crypto/SelfTest/st_common.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest
copying lib/Crypto/SelfTest/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_AES.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_CAST.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC4.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES3.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/common.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_DES.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_ARC2.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_Blowfish.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_XOR.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
copying lib/Crypto/SelfTest/Cipher/test_pkcs1_15.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Cipher
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA224.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD2.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_RIPEMD.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD4.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/common.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA512.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_MD5.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA384.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_SHA256.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
copying lib/Crypto/SelfTest/Hash/test_HMAC.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Hash
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_AllOrNothing.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_rfc1751.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_chaffing.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
copying lib/Crypto/SelfTest/Protocol/test_KDF.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Protocol
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_RSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_importKey.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_DSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
copying lib/Crypto/SelfTest/PublicKey/test_ElGamal.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/PublicKey
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_rpoolcompat.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test_random.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
copying lib/Crypto/SelfTest/Random/test__UserFriendlyRNG.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
copying lib/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/Fortuna
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_posix.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_generic.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_fallback.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_nt.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
copying lib/Crypto/SelfTest/Random/OSRNG/test_winrandom.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Random/OSRNG
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_winrandom.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_Counter.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_asn1.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
copying lib/Crypto/SelfTest/Util/test_number.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Util
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_pss.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Signature
copying lib/Crypto/SelfTest/Signature/test_pkcs1_15.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/SelfTest/Signature
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
copying lib/Crypto/Protocol/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
copying lib/Crypto/Protocol/AllOrNothing.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
copying lib/Crypto/Protocol/KDF.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
copying lib/Crypto/Protocol/Chaffing.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Protocol
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/_slowmath.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/RSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/pubkey.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/_DSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/_RSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/DSA.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
copying lib/Crypto/PublicKey/ElGamal.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/PublicKey
creating build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_PSS.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Signature
copying lib/Crypto/Signature/PKCS1_v1_5.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Signature
copying lib/Crypto/Signature/init.py -> build/lib.macosx-10.14.6-x86_64-3.8/Crypto/Signature
Skipping optional fixer: buffer
Skipping optional fixer: idioms
Skipping optional fixer: set_literal
Skipping optional fixer: ws_comma
running build_ext
running build_configure
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Hash._MD2' extension
creating build/temp.macosx-10.14.6-x86_64-3.8
creating build/temp.macosx-10.14.6-x86_64-3.8/src
xcrun -sdk macosx clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -fwrapv -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c src/MD2.c -o build/temp.macosx-10.14.6-x86_64-3.8/src/MD2.o
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:32:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
#error Unsupported architecture
^
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:27:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:33:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
^
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:27:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
typedef __int64_t __darwin_blkcnt_t; /* total blocks /
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_blksize_t; /
preferred block size /
^
note: '__int128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_dev_t; /
dev_t /
^
note: '__int128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_gid_t; /
[???] process and group IDs /
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_id_t; /
[XSI] pid_t, uid_t, or gid_t*/
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes /
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
typedef __darwin_natural_t __darwin_mach_port_name_t; /
Used by mach /
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
typedef __uint16_t __darwin_mode_t; /
[???] Some file attributes /
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
typedef __int64_t __darwin_off_t; /
[???] Used for file sizes /
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_pid_t; /
[???] process and group IDs /
^
note: '__int128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_sigset_t; /
[???] signal set /
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
typedef __int32_t __darwin_suseconds_t; /
[???] microseconds /
^
note: '__int128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_uid_t; /
[???] user IDs /
^
note: '__uint128_t' declared here
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_useconds_t; /
[???] microseconds */
^
note: '__uint128_t' declared here
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:61:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_wctype_t;
^
note: '__uint128_t' declared here
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:64:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_size_t.h:31:9: error: unknown type name '__darwin_size_t'
typedef __darwin_size_t size_t;
^
In file included from src/MD2.c:30:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:152:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/_types/_ssize_t.h:30:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'xcrun' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-install-p9qp1zro/pycrypto/setup.py'"'"'; file='"'"'/private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-install-p9qp1zro/pycrypto/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/xd/c1h_3xmj12q08slfnzr9v8fr0000gn/T/pip-record-y1dc7wiu/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 20.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
riovo@Rs-MacBook-Pro OpenWRTInvasion %

Your computer setup is not something I can help you with. Closing

iovoz commented

Your computer setup is not something I can help you with. Closing

seems pycrypto not compiled with python3. do you think use pycryptodome would better?

I don’t know, I have very limited knowledge of the python ecosystem

iovoz commented

I got the same errors in python 3.6 with pycrypto on my CentOS . Then use pycryptohome fixed it. Also fixed on my MacOS which using python 3.8. Have been looking through some documents, pycrypto not maintained a long time and recommended to pycryptohome. Can I guess you don’t have issue on you environment because it is not updated?

Could be, I don’t know. Feel free to open a pr