Cannot load native module "Cypto.Ciper_raw_ecb': Not Found when running on python:exe

Asked 1 years ago, Updated 1 years ago, 411 views

I installed pycryptodome and programmed the PKCS1+Base64 conversion

.

It worked fine when running at the source level, but when you execute hogehoge.exe in pyinstaller hogehoge.py --onefile, you get the following error:
I think you probably can't see the installation location of pycryptdome.I searched a few things, but it hasn't been resolved yet, so do you know how to solve them?

running environment:
Python 3.10.1
pictodome 3.16.0

error messages:

Cannot load native module 'Crypto.Cipher._raw_ecb': Not found '_raw_ecb.cp310-win32.pyd', Not found '_raw_ecb.pyd'

python pyinstaller

2022-12-14 06:04

1 Answers

It's solved.I upgraded the pyinstaller with reference to the first answer and built it, and it worked fine.
I should have checked from the beginning
Thank you very much


2022-12-14 06:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.