问题: 使用python3.11.4执行脚本时报错 解决办法: 1、卸载pycrypto模块 pip uninstall pycrypto 2、安装pycryptodome模块 pip install pycryptodome 如果需要升级pip,可以根据提示升级 重新安装之后 问题解决