Windows system Anaconda remote access

Install Anaconda

  1. Open the .jupyter file in the current user directory and edit jupyter_notebook_config.py:
    (If there is no such file, enter the “jupyter notebook –generate-config” command in the Prompt command window to generate the jupyter_notebook_config configuration file)
  2. Set the access password, enter the ipython command in the Prompt command window to open Ipython, and enter the following command
In [1]: from notebook.auth import passwd

In [2]: passwd()
Enter password:
Verify password:
Out[2]: 'sha1:0de71489d8cb:bd478fe3b2ff30922ef6b770e4b19'
In [3]: quit()
  1. Edit the jupyter_notebook_config.py file and add the following command at the end:
c.NotebookApp.ip = '*'
c.NotebookApp.password = 'sha1:0de71489d8cb:bd478fe3b2ff30922ef6b770e4b19'
c.NotebookApp.open_browser = False
c.NotebookApp.port =8889
c.IPKernelApp.pyplot = 'inline'
c.NotebookApp.allow_remote_access = True
  1. Save and exit
  1. Open the Prompt command window and run jupyter notebook
  1. Browser visit http://address_of_remote:8889

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

%d 博主赞过: