With jupyter, even though it runs a long process, it may feel uncomfortable, so make a note of how to convert it to a script file.
jupyter nbconvert --to script myAnalysys.ipynb
Rest assured that the original jupyter will remain as it is called conversion!
(Conversion or creation?)
Two points to note
① Run the command with ipython
ipython hoge.py
② Comment out the inline of matplotlib An error occurs in an environment where images cannot be drawn
No event loop integration for 'inline'. Supported event loops are:
qt, qt4, qt5, gtk, gtk2, gtk3, tk, wx, pyglet, glut, osx
Search inline and comment out the relevant part
Recommended Posts