2
$\begingroup$

Total beginner question here, please let me know if it would be more appropriate somewhere else.

I just created my first iPython notebook in Kaggle and I downloaded the ipnyb file. Now I have installed Jupyter locally and want to try working on the same notebook that way.

It seems like I got Jupyter working because I am able to create a new local notebook and it looks like what I would expect:

enter image description here

But when I open the ipnyb file that I downloaded from Kaggle, I just see what looks like raw JSON instead of a live notebook:

enter image description here

I also noticed that the icons of these two notebook files look different:

enter image description here

Any suggestions about what I might be doing wrong and how I might get my properly import my Kaggle notebook into Jupyter locally?

$\endgroup$
2
$\begingroup$

Thats because "ipnyb" is not proper format. Try downloading/changing it properly to .ipynb extension.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Doh! That's a helpful hint. $\endgroup$ – Brian Z Dec 21 '19 at 20:12
  • 1
    $\begingroup$ When I tried re-exporting later, it worked. Not sure what I did differently this time, but I'm glad it is working. $\endgroup$ – Brian Z Dec 21 '19 at 22:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.