mpastell / Pweave

Pweave is a scientific report generator and a literate programming tool for Python. It can capture the results and plots from data analysis and works well with numpy, scipy and matplotlib.
http://mpastell.com/pweave
Other
435 stars 64 forks source link

pweave does not work with ipykernel 5.1.0 #132

Open andrewdalecramer opened 5 years ago

andrewdalecramer commented 5 years ago

I've found updating my packages that pweave does not work correctly with ipykernel 5.1.0.

With ipykernel 4.10.0 everything is fine, with ipykernel 5.1.0 the code blocks do not execute, it's as if evaluate=False on every block, regardless of actual evaluate value.

Using python 3.5.2 and 3.6.7 with pipenv version 11.10.1, pweave version 0.30.3.

alecthegeek commented 5 years ago

A workaround in case someone else ends up here

pip install ipykernel==4.10.0
python -m ipykernel install --user --name=ipy_kernel_name

Not ideal though