https://prefect.io logo
Title
a

Adam Roderick

02/12/2020, 5:22 PM
"No module named IPython" -- is that not included in the prefect module?
j

Jeremiah

02/12/2020, 5:23 PM
Nope but it is highly recommended :)
a

Adam Roderick

02/12/2020, 5:23 PM
ok
i

itay livni

02/13/2020, 6:22 AM
@Jeremiah I saw it used as apart of visualization? Is it used anywhere else?
j

Jeremiah

02/13/2020, 3:12 PM
@itay livni that’s a great callout - we use that line as a way to detect if the user is running in an ipython notebook, in which case we don’t render the graph in a new window and render it inline instead. However the import is trapped because it fails if the user isn’t running in ipython. So it’s not a dependency per se, it’s just a way to make a nicer experience for people running in a notebook