python3.10 用pyinstaller打包oss2 运行报错,已经困扰我很多天了 实在找不到问题所在
Traceback (most recent call last): File "123.py", line 1, in File " ", line 1027, in _find_and_load File " ", line 1006, in _find_and_load_unlocked File " ", line 688, in load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module File "oss2_init.py", line 3, in File " ", line 1027, in _find_and_load File " ", line 1006, in _find_and_load_unlocked File " ", line 688, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module File "oss2\models.py", line 9, in File " ", line 1027, in _find_and_load File " ", line 1006, in _find_and_load_unlocked File " ", line 688, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module File "oss2\utils.py", line 32, in File " ", line 1027, in _find_and_load File " ", line 1006, in _find_and_load_unlocked File " ", line 688, in load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module File "Crypto\Cipher_init.py", line 27, in File " ", line 1027, in _find_and_load File " ", line 1006, in _find_and_load_unlocked File " ", line 688, in _load_unlocked File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module File "Crypto\Cipher_mode_ecb.py", line 35, in File "Crypto\Util_raw_api.py", line 309, in load_pycryptodome_raw_lib OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Not found '_raw_ecb.cp310-win_amd64.pyd', Not found '_raw_ecb.pyd' [944] Failed to execute script '123' due to unhandled exception!
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。