问题
When trying to load Cython extension from my Jupiter notebook
%load_ext Cython
I get the below message:
The Cython module is not an IPython extension
I did not have this problem a couple of weeks ago, when I wrote a Cython extension on my nb. I have tried to upgrade ipython and cython both from my regular environment (I am using a Mac running 10.11) and from Anaconda, with no success. Any tips?
Thanks a lot!
回答1:
Cython is not an IPython extension, so %load_ext
won't work on it. You can still use import cython
.
来源:https://stackoverflow.com/questions/40524124/the-cython-module-is-not-an-ipython-extension