开发者社区> 问答> 正文

python3.10 用pyinstaller打包oss2 运行报错

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!

展开
收起
游客45ifjln2gfpnm 2021-11-27 16:21:53 632 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
From Python Scikit-Learn to Sc 立即下载
Data Pre-Processing in Python: 立即下载
双剑合璧-Python和大数据计算平台的结合 立即下载