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

No module named 'vart' #57

Closed
wanghao16020510036 opened this issue Jul 12, 2021 · 2 comments
Closed

No module named 'vart' #57

wanghao16020510036 opened this issue Jul 12, 2021 · 2 comments

Comments

@wanghao16020510036
Copy link

When I try run "dpu_mnist_classifier.ipynb" in "pynq_dpu/edge/notebooks", I got the following error message:

ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 from pynq_dpu import DpuOverlay
2 overlay = DpuOverlay("dpu.bit")
3 overlay.load_model("dpu_mnist_classifier.xmodel")

/usr/local/lib/python3.6/dist-packages/pynq_dpu-1.3.2-py3.6-linux-aarch64.egg/pynq_dpu/init.py in ()
14
15
---> 16 from .dpu import DpuOverlay
17
18

/usr/local/lib/python3.6/dist-packages/pynq_dpu-1.3.2-py3.6-linux-aarch64.egg/pynq_dpu/dpu.py in ()
24 from typing import List
25 import pynq
---> 26 import vart
27 import xir
28

ModuleNotFoundError: No module named 'vart'

I know this is because "vart" is not installed and I need install it. But after I operated followed Vitis AI UG and readme, this problem is still not solved. Very eager for your guidance!

@schelleg
Copy link
Collaborator

VART is installed during dpu-pynq's install, see the setup.py line below:

https://github.com/Xilinx/DPU-PYNQ/blob/master/setup.py#L104

Did your dpu-pynq install complete successfully?

@wanghao16020510036
Copy link
Author

VART is installed during dpu-pynq's install, see the setup.py line below:

https://github.com/Xilinx/DPU-PYNQ/blob/master/setup.py#L104

Did your dpu-pynq install complete successfully?

Thank you very much for your reply! I reinstalled pynq-dpu. This problem has been resolved.

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

2 participants