Jupyter Notebook does not sync with PyCharm
jupyter, pycharm
Solution
One possible solution is:
- Once started the Jupyter server started, make sure the file edited through Jupyter is closed in Pycharm
- Save the Jupyter Notebook: 'Save and checkpoint' method
- In Pycharm, synchronize the notebook
- The notebook can be now opened and the changes appear
I guess the reason of the error is that while the notebook is opened is pycharm, pycharm edit it and overwrite at anytime the modications done by the jupyter server. Yet, it is only a guess, I have no certainty about the origin of such behaviour.
Problem
Suppose that I create an .ipynb in PyCharm, and then start an IPython Notebook kernel. Then if I modify the notebook in the browser, how do I get the changes back to PyCharm? There is a 'synchronize' function when I right-click the file name in PyCharm but it does not seem to do anything.