jankatins / knitpy

knitpy: Elegant, flexible and fast dynamic report generation with python
https://github.com/jankatins/knitpy
Other
368 stars 29 forks source link

Error with ipykernel #47

Closed hrishikeshvganu closed 3 years ago

hrishikeshvganu commented 8 years ago

While executing:

# As this all produces no output, it should go into the same input section...
import numpy as np
import matplotlib.pyplot as plt
y = np.linspace(2, 10)
line, = plt.plot(y, np.sin(y))

`

[KnitpyApp] Converting ./knip.pymd... [KnitpyApp] Changing to working dir: . [KnitpyApp] Converting document knip.pymd to html_document [KnitpyApp] Starting a new kernel: python /usr/bin/python: No module named IPython.core.profiledir; 'ipykernel' is a package and cannot be directly executed

jankatins commented 8 years ago

Ok, this looks like the profile thingies I reused were not API enough and were removed now :-/

hrishikeshvganu commented 8 years ago

Do you think we can have a workaround?

On Fri, Feb 26, 2016, 01:39 Jan Schulz notifications@github.com wrote:

Ok, this looks like the profile thingies I reused were not API enough and were removed now :-/

— Reply to this email directly or view it on GitHub https://github.com/JanSchulz/knitpy/issues/47#issuecomment-188958846.

jankatins commented 8 years ago

I'll have to look into it, but I suspect that I have to remove the profile dir support or find out how to get that from the "after big split" world...