版本太久,需要重新最新版 pip3 uninstall pycrypto pip3 uninstall pycryptodome pip3 install pycryptodome ImportError: cannot import name ‘byte_string‘ from ‘Crypto.Util.py3compat‘ (/usr/local/lib/python3.8