
и всегда написано «неверные учетные данные»
вот мой json-файл (тот, что с паролем). мне пришлось самому вручную sha1, потому что по умолчанию по какой-то причине был аргон
Код: Выделить всё
{
"NotebookApp": {
"password": "sha1:b59cbb211259:e6f4c46b47130a3ad984737382893fc3d917f2de"
}
}
1.
Код: Выделить всё
## Allow password to be changed at login for the notebook server.
#
# While logging in with a token, the notebook server UI will give the
# opportunity to the user to enter a new password at the same time that will
# replace the token login mechanism.
#
# This can be set to false to prevent changing password from the UI/API.
# Default: True
c.NotebookApp.allow_password_change = False
Код: Выделить всё
## Hashed password to use for web authentication.
#
# To generate, type in a python/IPython shell:
#
# from notebook.auth import passwd; passwd()
#
# The string should be of the form type:salt:hashed-password.
# Default: ''
c.NotebookApp.password = u'sha1:b59cbb211259:e6f4c46b47130a3ad984737382893fc3d917f2de'
Код: Выделить всё
## Token used for authenticating first-time connections to the server.
#
# The token can be read from the file referenced by JUPYTER_TOKEN_FILE or set
# directly with the JUPYTER_TOKEN environment variable.
#
# When no password is enabled, the default is to generate a new, random token.
#
# Setting to an empty string disables authentication altogether, which is NOT
# RECOMMENDED.
# Default: ''
c.NotebookApp.token = u''
Подробнее здесь: https://stackoverflow.com/questions/697 ... -token-use
Мобильная версия