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

ModuleNotFoundError: No module named 'pyxrt' #423

Open
munawarkholil opened this issue Mar 18, 2025 · 7 comments
Open

ModuleNotFoundError: No module named 'pyxrt' #423

munawarkholil opened this issue Mar 18, 2025 · 7 comments

Comments

@munawarkholil
Copy link

munawarkholil commented Mar 18, 2025

File "/home/User/xdna-driver/xrt/src/../tests/python/200_binding/200_main.py", line 18, in <module>
import pyxrt as pp
ModuleNotFoundError: No module named 'pyxrt'

when executing $ ./build.sh -npu -opt

@maxzhen
Copy link
Collaborator

maxzhen commented Mar 18, 2025

Please share the full build log and the version of Linux for us to reproduce the issue.

@munawarkholil
Copy link
Author

@maxzhen
Copy link
Collaborator

maxzhen commented Mar 18, 2025

what version of linux? do you happen to have a version of xrt installed in your build system?

@munawarkholil
Copy link
Author

Image
Linux aigen 6.11.0-19-generic #19~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 17 11:51:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

I am using ubuntu lts 24.04 and following the guide in readme.md, am I missing something?

@munawarkholil
Copy link
Author

Image

@maxzhen
Copy link
Collaborator

maxzhen commented Mar 18, 2025

I just tried building on my Ubuntu 24.04 and don't see any issue. Since we're using XRT as a git submodule, maybe you can repost the issue under https://github.com/Xilinx/XRT?

@mamin506
Copy link
Contributor

mamin506 commented Apr 9, 2025

I encounter same issue. Clean build xrt submodule save me.

$ ./build.sh -clean
$ ./build.sh -npu -opt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants