Skip to content
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

PyExc_Exception while import onnxruntime #23196

Open
ranjitsingha opened this issue Dec 26, 2024 · 0 comments
Open

PyExc_Exception while import onnxruntime #23196

ranjitsingha opened this issue Dec 26, 2024 · 0 comments
Labels
build build issues; typically submitted using template

Comments

@ranjitsingha
Copy link

Thank you for answering @tracysh !

I think I didn't set it. I will set it correctly. In my case, I think I should set like below? I just changed last 2 chars from yours. export CMAKE_ARGS="-DCMAKE_ANDROID_ARCH_ABI=armeabi-v8l" I will try with this.

When I see my processor type, it says AArch64 Processor.

Processor       : AArch64 Processor rev 2 (aarch64)
processor       : 0
model name      : ARMv8 Processor rev 4 (v8l)
BogoMIPS        : 26.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
processor       : 1
model name      : ARMv8 Processor rev 4 (v8l)
BogoMIPS        : 26.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
(same lines continue...)

But then after setting CMAKE_ARGS="-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a" it builds the wheel completely.
But then i get error when try to
python -c "import onnxruntime"

"PyExc_Exception" problem

Originally posted by @ranjitsingha in #4882

@carzh carzh added the build build issues; typically submitted using template label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build issues; typically submitted using template
Projects
None yet
Development

No branches or pull requests

2 participants