Xilinx / PYNQ-Metadata

PYNQ-Metadata provides an abstract description of reconfigurable system designs.
BSD 3-Clause "New" or "Revised" License
7 stars 8 forks source link

include ipython requirement of pynqmetadata.frontend #11

Closed modularizer closed 1 year ago

modularizer commented 1 year ago

in a fresh virtual environment, after pip install pynq, and pip install pynqmetadata, import pynq fails due to the missing ipython dependency.

I am using

pynq==3.0.1
pynqmetadata==0.1.5

and the traceback is

    import pynq
/usr/local/lib/python3.11/site-packages/pynq/__init__.py:11: in <module>
    from .overlay import DefaultHierarchy, DefaultIP, Overlay, UnsupportedConfiguration
/usr/local/lib/python3.11/site-packages/pynq/overlay.py:13: in <module>
    from pynqmetadata.frontends import Metadata
/usr/local/lib/python3.11/site-packages/pynqmetadata/frontends/__init__.py:7: in <module>
    from . import visualisations
/usr/local/lib/python3.11/site-packages/pynqmetadata/frontends/visualisations/__init__.py:4: in <module>
    from .metadata_vis import MetadataVis
/usr/local/lib/python3.11/site-packages/pynqmetadata/frontends/visualisations/metadata_vis.py:4: in <module>
    from IPython.display import display, Javascript, HTML
E   ModuleNotFoundError: No module named 'IPython'

This error occurs on Python3.10 and Python3.11. It is easily fixed by pip install ipython but is an inconvenience when installing the package.

STFleming commented 1 year ago

Brilliant, thanks :)