I am using Pycharm 2018.2 version in ubuntu 18.04 and I am trying to use the JupyterNoteBook inside the pycharm it’s been loading and creating a new notebook. But the cell in the Jupyter always shows busy and it throws some error like ModuleNotFoundError: No module named ‘prompt_toolkit.formatted_text’. Eventhough, I restarted the kernel again and again it throws the same
Tag: jupyter
How do I install Jupyter notebook on an Android device?
Is there a way to install a functional instance of Jupyter notebook on an Android device? Specifically, I want to use Jupyter to run a Python notebook. Answer I found some information on the web (like in this blog post) while I was coming up with the answer for this question, but it was all at least somewhat wrong and/or
convert jupyter notebook saved as .HTML file back into .IPYNB
Can I convert a Jupyter Notebook saved as .HTML file back into .IPYNB file? The executable original notebooks were lost. The nbconvert docs don’t have anything useful for this case. Currently I have to copy-paste bunch of cells into a new notebook, but this is very tedious and output cells will be lost this way. [EDIT] I found an interactive
%% Cell magic tag not working in Jupyter notebook?
I’m new to Jupyter notebook and I’m trying to set one up with Python and R, using rpy2. I have the line which gives me the error SyntaxError: invalid syntax However when I use just one %, such as this works fine. How can I fix this issue? I am using Python 2.7. Answer % prefix is for a line
How to do superscripts and subscripts in Jupyter Notebook?
I want to to use numbers to indicate references in footnotes, so I was wondering inside of Jupyter Notebook how can I use superscripts and subscripts? Answer You can do this inside of a markdown cell. A markdown cell can be created by selecting a cell then pressing the esc key followed by the M key. You can tell when
How to plot (inline) with rpy2 in Jupyter notebook?
I’m learning to use rpy2 in Jupyter notebook. I’m having troubles with the plotting. When I use this example from the rpy2 docs for interactive work: Jupyter opens a new window with the plot. The window “title” reads: R Graphics: Device 2 (ACTIVE) (Not Responding). My Jupyter kernel is active. When I try to close the window with the plot,
How to insert javascript code into Jupyter
I’m trying to insert this script on custom.js. I changes to color red all the negative currency. I want it to be applied to all pandas dataframes printed on Jupyter. After adding it to all custom.js available on jupyter/anaconda folders, it still didn’t change anything. Can someone help me? Answer
Jupyter: disable restart kernel warning
I’m using jupyter 4.1.0, and I find myself making frequent use of the “Restart & Run All” feature. Every time I use that button it displays this warning: Is there a way to disable that warning? Answer You can add a cell in your notebook and using the following statements: And the kernel will restart immediately.
How to display full output in Jupyter, not only last result?
I want Jupyter to print all the interactive output without resorting to print, not only the last result. How to do it? Example : I would like to display 3 4 Answer Thanks to Thomas, here is the solution I was looking for:
Can I run Jupyter notebook cells in commandline?
I am deploying a Python package, and I would like to run a simple test to see if all cells in my notebook will run without errors. I would like to test this via commandline as I have issues running a notebook in virtualenv. Is there are simple command-line way to test this? Note to the moderator: this question has