Unable to open an existing notebook in IPython Notebook - firefox

I want to open a notebook, say 'IPython - beyond normal Python'. To achieve this, I perform the following steps, in order.
Move to the place where IPython Notebook is installed.
cd to 'Notebooks'. iPython dashboard opens in a browser with list of available notebooks.
Click on the desired notebook.
The third step opens a new tab, but I can't see the contents of the notebook. A screen shot of what appears under that tab is shown below.
How can I see the contents of the notebook?

I would say that the notebook format is v3 and you are running IPython v0.12 that only read notebook v3. There is a warning message in newer versions if the notebook version is more recent than IPython.
Also IPython, not iPython if possible.

Related

Terminal window in Jupyter notebook is not getting launched

I am trying to open terminal in Jupyter notebook, it will appear for 2 seconds and it disappears immediately. Please help me on this.
I am guessing you are trying to open terminal by the following method?
If so, try restarting jupyter. That always seems to clear any issues for me.
Else, try using the %%bash or ! cell magics inside of a notebook in order to use the terminal.

No PopUp Context Helpert

I installed anaconda and created a virtualenv which contains jupyter.
I started writing code. But I was supposed to get context helper popup, and actually I don't.
For example, I write this python line:
s = 'string';
And then
s.
I was expecting to get a pop-up showing all the related methods. This does not happen.
in order to get the pop-up to appear you will need to hit the TAB key.
It's also important to note that the context helper is an IPython feature, so make sure you are running ipython and not python if you are using the command line.

Launch Jupyter Notebook in windows without command window

Is it possible to launch jupyter notebook without command console, i.e, without typing jupyter notebook and having a command window in your opened programs. I have made a batch file which I double-click to open the jupyter notebook. However, this step opens a command window and prints all the communication between jupyter and python processes. I want to eliminate this commandline window.
Instead of a batch file, one can use a shortcut.
To hide terminal you can run python scripts with pythonw.exe instead of python.exe. So I changed the Jupyter shortcut which was created after Anaconda installation accordingly. Mind that shortcut's Target field may have multiple python.exe instances, like the following:
C:\ProgramData\Anaconda3\pythonw.exe C:\ProgramData\Anaconda3\cwp.py C:\ProgramData\Anaconda3 C:\ProgramData\Anaconda3\pythonw.exe C:\ProgramData\Anaconda3\Scripts\jupyter-notebook-script.py "%USERPROFILE%/"
Shortcut window screenshot
This thread seems to be the first to appear when googling the problem.
My solution is for Anaconda users: Launch Jupyter from the Anaconda navigator. You won't have to keep an open CMD window, as upon exiting the navigator you are given the option to close or not close Jupyter.
It appears from the following questions that what you want to do is tricky in windows:
https://superuser.com/questions/62525/run-a-batch-file-in-a-completely-hidden-way
How to call CMD without opening a window
Each of these questions has various work-arounds presented in the answers, each with their pros and cons. Perhaps one of them will meet your needs.
I use RBTray to right click the minimize button and have the window go hide in the system notification tray.

I cannot copy the token of jupyter notebook

Hi I loaded Jupyter from Anaconda Prompt, with "jupyter notebook" command
Then it prompted me to enter the link with token, to open the notebook (it opened the notebook page on IE default browser, but I wanted to open in Chrome)
But here is the problem: I cannot select and copy text from Anaconda Prompt; The link is not in clipboard automatically either.
How can I get the link and run it in Chrome one way to the other?
Thanks.
enter image description here
Right click on Title Bar and select Properties. Check on 'Quick Edit Mode'
This worked for me after reading this for Windows Command Prompt

ipython notebook in a new broswer window (and not a new tab in an existing window)

so I've been talked into ipython notebook. I even set a shortcut (should be added to the beginners guides: alias ipn='ipython notebook --pylab inline &') but it opens a new tab in an open browsing session.
I'd like it to start the ipython in a NEW window. How do I do that?
Thanks guys!
alias ipn='ipython notebook --pylab inline
But the dev team recommend not to start with --pylab it leads to bugs for newcommers that do not know what pylab really does :-(. It is better to use %matplotlib inline at beginning of notebooks ! (explicit is better than implicit)
As for opening in a new window, IPython rely on webbrowser.open in notebookapp.py line 711 on master. And the ability to choose new tab or new window is not configurable. (You can try to open an issue or a Pull request on github, but it might fall in the "to little use case to make it configurable")
Cannot you just 'detach' the current tab ?

Resources