Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPython ImportError: No module named display

Tags:

python

import

Trying to run python script but can't find module IPython.display.. Seems like it would be something simple but I can't find an answer anywhere!

/vagrant/dreamify.py in <module>()
      4 import scipy.ndimage as nd
      5 import PIL.Image
----> 6 from IPython.display import clear_output, Image, display
      7 from google.protobuf import text_format
      8

ImportError: No module named display
like image 402
Shane Denomme Avatar asked Jan 07 '23 05:01

Shane Denomme


1 Answers

According to the IPython's repository, the IPython.display module was added in commit 5462c7e, and it was released with IPython 0.13.

I think you have an older version of IPython.

You can check the IPython version with ipython --version.

It can be upgraded with pip install --upgrade IPython.

like image 121
memoselyk Avatar answered Jan 09 '23 18:01

memoselyk