首页
社区
课程
招聘
[原创]How to handle errors is documented here with python 3.9 install pycrypto。
发表于: 2022-1-11 10:45 5182

[原创]How to handle errors is documented here with python 3.9 install pycrypto。

2022-1-11 10:45
5182

 

how to install pycrypto:

 

Start Menu -> x64 Native Tools Command Prompt for VS 2019

1
2
set CL=-FI"%VCINSTALLDIR%Tools\MSVC\14.29.30037\include\stdint.h"
python -m pip install pycrypto

 

ModuleNotFoundError: No module named 'Crypto'

 

Crypto -> crypto, replace it in all .py files


 

ModuleNotFoundError: No module named 'winrandom'

1
import winrandom

replace with

1
from . import winrandom

 

AttributeError: module 'time' has no attribute 'clock'

1
t = time.clock()

replace with

1
t = time.perf_counter()

[培训]科锐逆向工程师培训第53期2025年7月8日开班!

收藏
免费 0
支持
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回