OS:win10
Pyinstaller:6.10.0
python:3.10.14
onnxruntime:1.19.0
Traceback (most recent call last):
File "F:\项目学习\qt与C++\baidu_infer\baidu_infer\baidu_infer\baidu_infer.py",
line 8, in <module>
import onnxruntime as rt
File
"F:\项目学习\qt与C++\baidu_infer\baidu_infer\baidu_infer\onnxruntime\__init__.py",
line 57, in <module>
raise import_capi_exception
File
"F:\项目学习\qt与C++\baidu_infer\baidu_infer\baidu_infer\onnxruntime\__init__.py",
line 23, in <module>
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"F:\项目学习\qt与C++\baidu_infer\baidu_infer\baidu_infer\onnxruntime\capi\_pybind_state.py",
line 32, in <module>
from .onnxruntime_pybind11_state import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: Module use of python310.dll conflicts with this version of
Python.
在2024年8月20日星期二 UTC+8 09:24:43<bin yan> 写道:
> I used Anaconda to create a virtual environment to package my Python
> program, which worked fine before it was packaged, but reported an error
> after it ran Module use of python310.dll conflicts with this version of
> Python.
>
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/15c69448-e6c0-4195-85c8-072bf8ac6b59n%40googlegroups.com.