问题:在windows的python3使用PyCrypto出现ImportError: No module named 'winrandom'错误
处理:修改python3安装目录下的 lib/Crypto/Random/OSRNG/nt.py 文件中找到
import winrandom
修改为
from Crypto.Random.OSRNG import winrandom
问题:在windows的python3使用PyCrypto出现ImportError: No module named 'winrandom'错误
处理:修改python3安装目录下的 lib/Crypto/Random/OSRNG/nt.py 文件中找到
import winrandom
修改为
from Crypto.Random.OSRNG import winrandom