ITADN

每导出一次ONNX就要手动卸载一次onnxruntime?

#273Closedmolehzy 创建于 2025-11-09
M
molehzycommented
main分支,按照这个教程安装环境https://ecn4x4y9jhjs.feishu.cn/wiki/F47bwGeiuiHb4QkqZGRcdBGInpc 如图所示,第一次导出的时候有一条紫色安装onnxruntime的命令,第二次导出的时候报`AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)` 需要手动执行`pip uninstall onnxruntime`才能接着导出,但在导出的时候又会自动安装 <img width="2560" height="2418" alt="Image" src="https://github.com/user-attachments/assets/ee4b935a-7da3-4adc-a5b3-407ebcaa0a40" />
关闭于 2025-11-10 10 条评论