Issue
I finally was able to install ipython on my Windows 7 PC and it runs without any errors. The problem is that I used to code in ipython but in MAC. Now that I am trying to upload my previous notebooks I receive the following error:
Unreadable Notebook: MyFile.ipynb Unsupported nbformat version 4
I found this answer for my question but unfortunately that is not for windows and did not resolve my problem. It is worth to mention:
ipython --version
produces: 2.3.1
Any help or comment on this is much appreciated.
Thanks
Solution
It took me a while to figure this out but I got the first lead from user "cel". I used to have multiple versions of python (2.7 and 3.4). I removed python 3.4 because it's not compatible with spark yet. Next, I had to remove WinPython3.4 and replace it with WinPython2.7 so it can integrate with python 2.7 installed on my PC. Finally, I installed python 2.7.9 and set the C:/Python27/Script
as a part of system environment variable. After doing all this I ran the following commands:
pip uninstall ipython
This helped me to remove older version of ipython. Then:
pip install ipython
This installed the latest version of ipython on my windows pc. Finally:
pip install notebook --upgrade
To upgrade notebook to latest version. Right now, ipython os installed and and should work fine doing this:
ipython notebook
Had no problem importing my previous .ipynb after all of the above.
Good luck to you all.
Answered By - ahajib
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.