ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.23k stars 806 forks source link

2to3 doesn't work #1298

Open kevinblog opened 6 years ago

kevinblog commented 6 years ago

image

Hi.

I clone the git project and install correctly , but when I use the 2to3 converter, it can't work?

And the icon isn't the same style like the readme file.

Looking forward to your reply.

jfbercher commented 6 years ago

Indeed, there is a problem with the icon and config load which can be fixed. However the extension works well for me. Can you

  1. put a simple python 2 instruction in a single cell, like
    print "This is a text"
  2. Press the 2to3 button

and report what happens. if nothing happens, look in the javascript console if there are error messages.

kevinblog commented 6 years ago

@jfbercher Thanks for your reply.

It does work when I try the simple print sentence.

print "This is a text"

But if I run the whole cell, it can't be converted. Anyway, I will check my code again.