New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add ONNNX runtime library to final binary. #8083
Comments
I think the directory pointed to via But why are you overriding |
Thanks for the quick reply after correcting it I encountered another issue.
|
Hmmm, we fail to create symlink for libQt5Core-9e162752.so.5.15.0 for some reason. Is Can you try without As a side note, |
The |
If the fileystem does not support symbolic links, then no. Except maybe using PyInstaller 5.x, which collects only hard copies. |
If your application needs so much space that it doesn't fit in |
I am trying to build a project involving Onnx runtime gpu library on Nvidia Jetson NX Board. I ran the
nvidia@ubuntu:/media/nvidia/Extreme_Pro/train_project$ pyinstaller --onefile --name="osn_tcms" --add-binary /home/nvidia/.local/lib/python3.8/site-packages/onnxruntime/capi/libonnxruntime_providers_cuda.so:lib --upx-dir=/usr/local/cuda-11.4/targets/aarch64-linux/lib/ main_v3.py --runtime-tmpdir /media/nvidia/Extreme_Pro/train_project/tmp -d bootloader
command to successfully build the final binary using Pyinstaller. But on running the final binay from dist folder gives me below error.
nvidia@ubuntu:/media/nvidia/Extreme_Pro/train_project$ ./dist/osn_tcms [283456] PyInstaller Bootloader 6.x [283456] LOADER: executable is /media/nvidia/Extreme_Pro/train_project/dist/osn_tcms [283456] LOADER: _MEIPASS2 is not set [283456] LOADER: archivename is /media/nvidia/Extreme_Pro/train_project/dist/osn_tcms [283456] LOADER: Cookie found at offset 0x23DFCCB9 [283456] LOADER: creating temporary directory... [283456] LOADER: Found runtime-tmpdir /media/nvidia/Extreme_Pro/train_project/tmp [283456] Cannot create temporary directory!
Please suggest what am I doing wrong and how to resolve this issue.
The text was updated successfully, but these errors were encountered: