No, however it is possible to generate a .py
script from .ipynb
, which can then be converted to a .exe
With jupyter nbconvert
(If you are using Anaconda, this is already included)
In the environment :
pip install nbconvert
jupyter nbconvert --to script my_notebook.ipynb
Will generate a my_notebook.py
.
Then with Pyinstaller :
pip install pyinstaller
pyinstaller my_notebook.py
You should now have a my_notebook.exe
and dist files in your folder.
Source: A slightly outdated Medium Article about this
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…