I'm trying to connect to a collab notebook with ein in emacs. I have tried copying the URL into it but it asks for a password.
Any clue if this is at all possible? Thanks!
https://github.com/millejoh/emacs-ipython-notebook
Related
i'm using remote jupyter server in vscode.i added remote server as the guide says.
But what annoying me now is that i created too many server url but don't know how to delete one.
Does anyone know how to deal with it? Or i should uninstall and reinstall totally.
You can run the command (CMD+SHIFT+P on MAC):
>Jupyter: Clear Jupyter server list
I have an issue that I cannot solve. Im trying to open a big file in VS Code this one ,but when Im trying to open with the option: Jupyter:Open Jupyter Notebook nothing happens.
With others files works fine and opens in jupyter notebook automatically but not this one. I think maybe I touch something so now it doesn't work.
Could somebody help me please?
I know for this issue there are some solutions but they didn't work for me. And I don't understand how I can do. I guess I have to change PATH stuff, but I don't understand to be honest.
My terminal .zsh (I can't change this with .bash, because I have to use it.)
My system Mac OS Catalina
I installed Anaconda. When I try to launch Jupyter Notebook on Anaconda, Jupiter notebook doesn't open on the web browser, it says waiting for localhost.
And when I try to launch Jupyter Notebook in terminal with code 'jupyter notebook'. It says 'zsh: command not found: jupyter'
Please help, this thing drive me crazy.
I solved this problem. The reason for this was the Antivirus program. It blocks to open Jupyter Notebook on the web browser. If you have same problem, remove your antivirus program.
I have recently installed ipython using Enthought's EPD python install - and when starting the iPython HTML notebook from the command prompt by typing:
ipython notebook --pylab=inline
I manage to get the localhost browser notebook screen pop up correctly.
However when I try to create a new notebook by clicking "New Notebook" I get the following error message:
"Creating Notebook Failed The error was: Unexpected error while autosaving notebook: C:\Windows\System32\Untitled0.ipynb [Errno 17] No usable temporary file name found"
I am assuming this i sbecause I may not have write privilege for that particular drive. So I have tried to go into the "ipython_notebook_config.py" file and change the following:
# The directory to use for notebooks and kernels.
c.NotebookApp.notebook_dir = u'C:\Users\Stuart\Documents\iPython'
and
c.FileNotebookManager.notebook_dir = u'C:\Users\Stuart\Documents\iPython'
I have then closed down all the cmd windows and started the ipython notebook agaion. But when I click on "New Notebook" I get the same error message as before:
"Creating Notebook Failed The error was: Unexpected error while autosaving notebook: C:\Windows\System32\Untitled0.ipynb [Errno 17] No usable temporary file name found"
Could someone please help me as to how I can get this working? Any help very much appreciated.
The answer kindly provided by #Jakob in the comments above did the trick:
"Can you try switching to C:\Users\Stuart\Documents\iPython in the terminal before starting the notebook?"
Just change the directory where are run your iPython notebook. For make it, you right-click on the shortcut and edit properties. In this properties, a field named "run directory" or something like that. Put your link in this field.
I just experienced the same problem. I even erased all the untitled.ipynb files in the directory. Then I realized that I had other copies of Anaconda terminal open. When I closed them and tried again, things went back to normal.
If you run the IPython as administrator you won't run into error for starting a new notebook. To do that right click on the Ipython shortcut and click on run as administrator.
I also had the same problem, I was not able to create the new notebook or access existing notebook present in that directory.
Error Message - Unexpected error while saving file:/path/ database is locked
Turns out my old anaconda jupyter notebook terminals were open and running in the background. Every time I started jupyter notebook I used the new instance that led me to this problem. When I closed all terminals and restarted new Jupyter notebook terminal it started working again.
Many of the problems with Anaconda/Jupyter/Notebooks can be solved by examining and cleaning up what you have in your environmental variables such as Path or, if you trying to set up files to store Notebooks that you develop.
There is a very good discussion of environmental variables here:
http://johnatten.com/2014/12/07/adding-and-editing-path-environment-variables-in-windows/
It is obvious that if Anaconda/Jupyter/Notebook can't find the files they can't run them.
At a minimum your path in environmental variables should contain:
c:\users\*******\Anaconda3 where ******** is your user name
c:\users\*******\Anaconda3\Scripts
then you could create environmental variables that point to your personal Notebook code directories: (note: there can't be any spaces in the addresses) in Windows Environmental Variables (System Properties --> Environmental Variables --> add to User and System variables
variable value
NOTEBOOK address of your personal Notebook location
TESTING address of your Notebook Testing location
With this setup you can on the Anaconda Command
jupyter notebook %TESTING%
or
jupyter notebook %NOTEBOOK%
Another way you can go to your own Notebook directory is to change
jupyter_notebook_config.py
Go to:
## The directory to use for notebooks and kernels.
c.NotebookApp.notebook_dir = 'your Notebook directory address goes here'
remove the ## and enter your directory using \'s instead of \ in the address
Then anytime you enter 'jupyter notebook' you will start at your Notebook Directory.
I use Emacs at work and at home, both on Windows XP, both EmacsW32. On my work computer, if I setup FTP login details for a site, for example:
machine ftp.stackoverflow.com login codinghorror password orange
then if I want to ftp there from Emacs, I just type
/ftp.s<tab>
and it knows from my .netrc that it can autocomplete to
/ftp.stackoverflow.com:
which is exactly what I want. On my home computer, the autocomplete just doesn't work, although it does once I'm on the server, so if I type:
/ftp.stackoverflow.com:public_h<tab>
it will autocomplete the html. Does anyone have any ideas as to why this might be?