dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Include IPython as a dependency or remove from evaluate/evaluate.py

Open Raphtor opened this issue 1 year ago • 0 comments

IPython is not included as a dependency, but is required to import some files:

I.e

from dspy.teleprompt import (
    BootstrapFewShotWithRandomSearch,
    BootstrapFewShot,
    LabeledFewShot,
)
...
File "<venv>/dspy/evaluate/evaluate.py", line 6, in <module>
   from IPython.display import display as ipython_display, HTML
ModuleNotFoundError: No module named 'IPython'

Raphtor avatar Jan 10 '24 17:01 Raphtor