首页
论坛
课程
招聘
[原创]How to handle errors is documented here with python 3.9 install pycrypto。
2022-1-11 10:45 3443

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

2022-1-11 10:45
3443

 

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()

【看雪培训】目录重大更新!《安卓高级研修班》2022年春季班开始招生!

收藏
点赞0
打赏
分享
最新回复 (0)
游客
登录 | 注册 方可回帖
返回