from Crypto.Util.py3compat import byte_string ImportError: cannot import name 'byte_string'

#重新安装一下依赖包就可以了

pip3 uninstall pycrypto
pip3 uninstall pycryptodome
pip3 install pycryptodome
原文地址:https://www.cnblogs.com/liangliangzz/p/15379071.html