The Cython module is not an IPython extension

て烟熏妆下的殇ゞ 提交于 2019-12-24 06:48:26

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!