Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jupyter Notebook does not sync with PyCharm

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.

like image 910
James Hirschorn Avatar asked May 11 '17 04:05

James Hirschorn


People also ask

Is Jupyter notebook and PyCharm same?

Jupyter Notebook and PyCharm have distinct features, which makes each tool better for specific applications. For instance, Jupyter's features are more suited to data analysts and research applications, whereas PyCharm's features are designed for developers and software engineering.

Does PyCharm community support Jupyter notebook?

Unlike PyCharm Professional and DataSpell, PyCharm Community users can preview Jupyter notebooks in read-only mode. Once a notebook is opened, you can view all of its cells with both input and outputs. Editing and cell execution are not allowed.

Can we use Ipywidgets in PyCharm?

PyCharm supports interactive widgets that provide integration between Python code running in the notebook kernel and JavaScript running in the browser. Refer to the Jupyter widgets documentation for more details about the variety and specifics of interactive widgets.


1 Answers

For me, invalidating the PyCharm cache worked.

  1. File > Invalidate Caches / Restart…
  2. Invalidate and Restart. (Just Invalidate might also work.)
like image 112
Richard Möhn Avatar answered Oct 12 '22 09:10

Richard Möhn