-
-
[原创]How to handle errors is documented here with python 3.9 install pycrypto。
-
2022-1-11 10:45 4432
-
[原创]How to handle errors is documented here with python 3.9 install pycrypto。
2022-1-11 10:45
4432
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() |
赞赏
他的文章
看原图