Не запускается jupiter notebook anaconda windows 10

I just installed Anaconda, in my Surface Pro 3, with Windows 10, using the provided installer for 64-bit. When I try to launch "jupyter notebook" I always get the following message: Microsoft Wi...

I just installed Anaconda, in my Surface Pro 3, with Windows 10, using the provided installer for 64-bit. When I try to launch «jupyter notebook» I always get the following message:

Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation.
All rights reserved.

C:UsersCarlos>jupyter notebook Traceback (most recent call last):

File «C:Program
FilesAnaconda3Scriptsjupyter-notebook-script.py», line 3, in

import notebook.notebookapp

File «C:Program
FilesAnaconda3libsite-packagesnotebooknotebookapp.py», l ine 32,
in
from zmq.eventloop import ioloop

File «C:Program FilesAnaconda3libsite-packageszmq__init__.py»,
line 34, in
from zmq import backend

File «C:Program
FilesAnaconda3libsite-packageszmqbackend__init__.py», l ine 40,
in
reraise(*exc_info)

File «C:Program
FilesAnaconda3libsite-packageszmqutilssixcerpt.py», lin e 34, in
reraise
raise value

File «C:Program
FilesAnaconda3libsite-packageszmqbackend__init__.py», l ine 27,
in
_ns = select_backend(first)

File «C:Program
FilesAnaconda3libsite-packageszmqbackendselect.py», lin e 26, in
select_backend
mod = import(name, fromlist=public_api)

File «C:Program
FilesAnaconda3libsite-packageszmqbackendcython__init__ .py»,
line 6, in
from . import (constants, error, message, context,

ImportError: DLL load failed: The specified module could not be found.

I tried to uninstall/install again several times, I tried to install it just for me or for all the users in the computer, I tried to update anaconda first…with no success. Any clue?

Thanks!

Это очень частая проблема, которая появляется на некоторых ОС.
Дело в том, что среда разработки запустилась, но браузер не открылся автоматически.

Как решить эту проблему?

В первую очередь, попробуйте запустить Anaconda Navigator с правами администратора (правой кнопкой мыши нажать на иконку Anaconda Navigator, во всплывающем меню выбрать «Запуск от имени администратора»).
Теперь, запустите Jupyter Notebook.

Если все равно не открывается окно браузера, выполните инструкции описанные далее.

ОС WINDOWS:

  1. Запустите программу, которая называется CMD.exe Prompt (может также называться Anaconda Prompt), нажав на Launch.
    Эта программа находится тут же, в Anaconda Navigator, рядом с программой Jupyter Notebook. После нажатия на Launch, должна открыться командная строка.
    Если этой программы нет в Anaconda Navigator, можно найти программу «Anaconda Prompt» на компьютере с помощью обычного поиска по программам.

  2. В этой командной строке мы должны выполнить команду jupyter notebook list
    (если команда не сработала, попробуйте сначала выполнить команду jupyter notebook list -V, а потом уже команду jupyter notebook list)

  3. Вышеупомянутая команда показывает тот адрес, по которому мы сможем получить доступ к нашей среде разработки.
    Адрес имеет вид: http://localhost:8888/?token=СЛУЧАЙНАЯ_ПОСЛЕДОВАТЕЛЬНОСТЬ_БУКВ_И_ЦИФР

Вам необходимо скопировать этот адрес, вставить его в адресную строку вашего браузера и перейти на эту страницу.
После этого откроется среда разработки Jupyter Notebook. Можно работать.

Чтобы скопировать адрес из командной строки Windows, необходимо кликнуть правой кнопкой мыши в любом месте командной строки.
В выпадающем меню надо выбрать пункт «пометить». После этого, можно будет выделить курсором интересующий нас адрес.
После того, как адрес будет выделен, надо нажать на клавишу Enter на вашей клавиатуре. Готово — адрес скопирован в буфер обмена. Можно его вставлять в адресную строку браузера.

ОС Linux или Mac OS:
Надо просто открыть терминал и там написать jupyter notebook
Полученный адрес надо скопировать в адресную строку браузера.

P.S.
Если Jupyter Notebook так и не запустился, можно использовать среду разработки PyCharm.
Эта среда разработки ничуть не хуже, чем Jupyter Notebook, и тоже отлично нам подойдет.

Apr-16-2018, 12:12 PM
(This post was last modified: Apr-16-2018, 12:36 PM by lupoalberto.)

Hi, today i’ve installed Anaconda on Windows 10 but i have problems because Jupyter Notebook doesn’t run.
I put some screenshots here but i’ve tried a lot of others combination.
The problem i guess is that there is no such file as «jupyter-notebook» in the scripts folder as you can see.

[Image: fmOb6n]

I’ve tried to install Anaconda Navigation following the instructions but it doesn’t work.

[Image: n6aymn]

I’m able to run Python but not jupyter and conda as you can see:

[Image: gDzxe7]

Last thing: when i open the anaconda prompt, there is a strange error message and i don’t know what it means:

[Image: fDQLz7]

I’m a beginner so forgive my mistakes (and my bad english).
Thanks


I want to add this:
i created 1 month ago a venv in E:, where i installed various packages in order to replicate a scientific environment.
In that folder, jupyter notebook exists, and it runs:

[Image: eoQQXS]

So i guess there is a conflict somewhere….what can i do to use jupypter notebook also in the Anaconda environment?

Posts: 6,571

Threads: 116

Joined: Sep 2016

Reputation:
487

Apr-16-2018, 01:02 PM
(This post was last modified: Apr-16-2018, 01:02 PM by snippsat.)

Look at my Anaconda tutorial
You don’s start from cmd, You download eg Python 3.6 version 64-Bit Graphical Installer (537 MB).
Follow the installer instruction,if this is your only Python you can answer yes to add environment variables Path.
I have python.org as my main Python so i answer no.

Then you see in tutorial how to access conda and pip,
for jupyter notebook there will shortcut icon or Navigator to start.

From commanline after correct install.

G:Anaconda3Scripts
λ jupyter-notebook

# Or
G:Anaconda3Scripts
λ jupyter notebook

Posts: 15

Threads: 4

Joined: Mar 2018

Reputation:
0

Apr-16-2018, 05:58 PM
(This post was last modified: Apr-16-2018, 05:58 PM by lupoalberto.)

(Apr-16-2018, 01:02 PM)snippsat Wrote: Look at my Anaconda tutorial
You don’s start from cmd, You download eg Python 3.6 version 64-Bit Graphical Installer (537 MB).
Follow the installer instruction,if this is your only Python you can answer yes to add environment variables Path.
I have python.org as my main Python so i answer no.

Then you see in tutorial how to access conda and pip,
for jupyter notebook there will shortcut icon or Navigator to start.

From commanline after correct install.

G:Anaconda3Scripts
λ jupyter-notebook

# Or
G:Anaconda3Scripts
λ jupyter notebook

I’ve seen your tutorial.
You write that conda is in Anaconda>cd Scripts> but as i said earlier….in that folder i don’t find neither conda nor jupyter-notebook.

E:ANACONDAScriptsconda i receive this message: ‘conda’ is not recognized as internal or external command, operable program or batch file.
Same thing for E:ANACONDAScriptsjupyter notebook

Posts: 6,571

Threads: 116

Joined: Sep 2016

Reputation:
487

Apr-16-2018, 07:54 PM
(This post was last modified: Apr-16-2018, 07:55 PM by snippsat.)

(Apr-16-2018, 05:58 PM)lupoalberto Wrote: You write that conda is in Anaconda>cd Scripts> but as i said earlier….in that folder i don’t find neither conda nor jupyter-notebook.

Have you done installation from Anaconda web-site?
Download you choice download Python 3.6 version.
The file you get is Anaconda3-5.0.0-Windows-x86_64.exe(537MB)

You double-click on exe file and follow the graphical installer instruction.
You will get to this window where you choice if want add Anaconda to Path,
as mention i have not,if you only have Anaconda mark on.
[Image: anaconda-options.png]

Posts: 15

Threads: 4

Joined: Mar 2018

Reputation:
0

(Apr-16-2018, 07:54 PM)snippsat Wrote:

(Apr-16-2018, 05:58 PM)lupoalberto Wrote: You write that conda is in Anaconda>cd Scripts> but as i said earlier….in that folder i don’t find neither conda nor jupyter-notebook.

Have you done installation from Anaconda web-site?
Download you choice download Python 3.6 version.
The file you get is Anaconda3-5.0.0-Windows-x86_64.exe(537MB)

You double-click on exe file and follow the graphical installer instruction.
You will get to this window where you choice if want add Anaconda to Path,
as mention i have not,if you only have Anaconda mark on.
[Image: anaconda-options.png]

Yes, i did the installation from the Anaconda web-site, and i didn’t select the first option, but only the second, because i already had Python on my computer.

As i said, the strange thing is that i don’t have any jupyter notebook file into the Scripts folder…neither conda
.

Posts: 6,571

Threads: 116

Joined: Sep 2016

Reputation:
487

(Apr-17-2018, 05:30 AM)lupoalberto Wrote: As i said, the strange thing is that i don’t have any jupyter notebook file into the Scripts folder…neither conda

Do you have antivirus software?
They can remove .exe if think it’s a risk.
Like conda.exe or jupyter-notebook.exe,files are in Anaconda3-5.0.0-Windows-x86_64.exe(can be opened bye eg 7-Zip)
So files are there before install,but when install AV software can rewove .exe this is called false positives.
Also look at How to Show Hidden Files and Folders

Posts: 15

Threads: 4

Joined: Mar 2018

Reputation:
0

(Apr-17-2018, 10:07 AM)snippsat Wrote:

(Apr-17-2018, 05:30 AM)lupoalberto Wrote: As i said, the strange thing is that i don’t have any jupyter notebook file into the Scripts folder…neither conda

Do you have antivirus software?
They can remove .exe if think it’s a risk.
Like conda.exe or jupyter-notebook.exe,files are in Anaconda3-5.0.0-Windows-x86_64.exe(can be opened bye eg 7-Zip)
So files are there before install,but when install AV software can rewove .exe this is called false positives.
Also look at How to Show Hidden Files and Folders

yes i have…

But, given the fact that i’m not able to solve the problem….can i transfer the jupyter-notebook file from the directory where i have it (in the other virtual environment) to Anaconda folder?

On the other hand, regarding the conda.exe, does a separate conda package exist on web that i can install in the Anaconda folder?

Because i don’t see other realistic solutions right now..

Posts: 6,571

Threads: 116

Joined: Sep 2016

Reputation:
487

Apr-17-2018, 07:55 PM
(This post was last modified: Apr-17-2018, 07:55 PM by snippsat.)

(Apr-17-2018, 05:34 PM)lupoalberto Wrote: yes i have…

Then you most check the log to see if AV has removed those files.
Av will always remove those file it think a risk,so you most set rule not to(usually called exceptions rules).

(Apr-17-2018, 05:34 PM)lupoalberto Wrote: On the other hand, regarding the conda.exe, does a separate conda package exist on web that i can install in the Anaconda folder?

There is no point in doing something else before you figure out why those files is been removed.
conda.exe is in package/zip in the install .exe file you can look and extract just conda.exe file with 7-Zip.
But no point if it’s been removed bye AV.

Posts: 15

Threads: 4

Joined: Mar 2018

Reputation:
0

(Apr-17-2018, 07:55 PM)snippsat Wrote:

(Apr-17-2018, 05:34 PM)lupoalberto Wrote: yes i have…

Then you most check the log to see if AV has removed those files.
Av will always remove those file it think a risk,so you most set rule not to(usually called exceptions rules).

(Apr-17-2018, 05:34 PM)lupoalberto Wrote: On the other hand, regarding the conda.exe, does a separate conda package exist on web that i can install in the Anaconda folder?

There is no point in doing something else before you figure out why those files is been removed.
conda.exe is in package/zip in the install .exe file you can look and extract just conda.exe file with 7-Zip.
But no point if it’s been removed bye AV.

I’ve Windows Defender Security.
I checked out what you said, entering in the «Operational» window, in this way:

To view a Windows Defender AV event
Open Event Viewer.
In the console tree, expand Applications and Services Logs, then Microsoft, then Windows, then Windows Defender Antivirus.
Double-click on Operational.
In the details pane, view the list of individual events to find your event.
Click the event to see specific details about an event in the lower pane, under the General and Details tabs.

I checked out the events occurred the day when i created the Anaconda folder, and i didn’t find anything regarding «jupyter» or «conda».

Проблемы с запуском блокнота Jupyter

Наткнулся буквально только что, но, думаю, проблема должна быть известная: при запуске из консоли команды jupyter notebook браузер запускается, но при открытии блокнота намертво зависает.

Казалось бы, в чём может быть проблема, если только что на другом компе всё работало отлично?

Однако, внимательный поиск в Google моей любимой поисковой системе натолкнул на мысль, что дело может быть в размере этого блокнота (на момент обнаружения проблемы блокнот дорос до 21Мб). Для проверки этой догадки получил одну из первых версий этого блокнота из VSC (около 200Кб). Открытие блокнота происходит моментально и без единой проблемы.

Простейшее решение очевидно — необходимо уменьшать размер *.ipynb . Самый логичный способ — удалить все output -ячейки. К счастью, добрые люди уже написали скрипт на Python , который это делает. Использовать его элементарно:

После чего будет создан новый блокнот с именем notebook_removed.ipynb с удалёнными output -ами.

После обработки моего блокнота его размер стал значительно лучше: 24.4Кб против 21Мб и никаких проблем, как я и ожидал, далее с этим блокнотом не было.

Не удается открыть блокнот Jupyter с помощью Anaconda

Я только что установил Anaconda на свой Surface Pro 3 с Windows 10, используя предоставленный установщик для 64-разрядной версии. Когда я пытаюсь запустить «jupyter notebook», я всегда получаю следующее сообщение:

Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved.

C:UsersCarlos>jupyter notebook Traceback (most recent call last):

File «C:Program FilesAnaconda3Scriptsjupyter-notebook-script.py», line 3, in import notebook.notebookapp

File «C:Program FilesAnaconda3libsite-packagesnotebooknotebookapp.py», l ine 32, in from zmq.eventloop import ioloop

File «C:Program FilesAnaconda3libsite-packageszmq__init__.py», line 34, in from zmq import backend

File «C:Program FilesAnaconda3libsite-packageszmqbackend__init__.py», l ine 40, in reraise(*exc_info)

File «C:Program FilesAnaconda3libsite-packageszmqutilssixcerpt.py», lin e 34, in reraise raise value

File «C:Program FilesAnaconda3libsite-packageszmqbackend__init__.py», l ine 27, in _ns = select_backend(first)

File «C:Program FilesAnaconda3libsite-packageszmqbackendselect.py», lin e 26, in select_backend mod = import(name, fromlist=public_api)

File «C:Program FilesAnaconda3libsite-packageszmqbackendcython__init__ .py», line 6, in from . import (constants, error, message, context,

ImportError: DLL load failed: The specified module could not be found.

Я пытался удалить / установить еще раз несколько раз, я пытался установить его только для себя или для всех пользователей компьютера, я пытался сначала обновить anaconda . безуспешно. Есть подсказка?

Блокнот Jupyter — не удается подключиться к ядру

Я попытался установить ноутбук jupyter, используя pip3 install jupyter. Каждый раз, когда я запускаю новый ноутбук Jupyter, ноутбук не может подключиться к ядру. См. снимок экрана ниже. Прикрепление файла моего требования.txt, также я использую Python версии 3.6.8. Версия Jupyter — 4.4.0 с версией для ноутбука 5.7.4.

Где я ошибся здесь и как я могу это исправить? Спасибо!

enter image description here

Windows —> Изменить настройки прокси —> Автоматически определять настройки —> «Отключить»

Формы c голосовым вводом в React с помощью Speechly

Flatpickr: простой модуль календаря для вашего приложения на React

Что такое cURL в PHP? Встроенные функции и пример GET запроса

Ответы 15

Есть вероятность, что вы недавно обновили Tornado до версии 6.0.0. Попробуйте переустановить его на версию 5.1.1. Мне просто помогло. Потерял на этом 1 час драгоценного субботнего времени.

Спасибо, я проверил, и похоже, что Tornado 6.0 появился по умолчанию, когда pip установил jupyter. Мне удалось удалить, но я не могу выполнить pip install tornado 5.1.1. Какие-либо предложения? Он возвращается и говорит, что не удалось найти версию, удовлетворяющую требованию 5.1.1.

Ах, неважно. Я использовал неправильный синтаксис. я использовал pip install tornado == 5.1.1 и wala! Теперь я снова могу подключиться к ноутбуку Jupyter. Это ошибка на торнадо 6.0? Просто кажется странным, что jupyter не работает с торнадо 6.0, и он установлен по умолчанию.

Рад, что мы все смогли это понять! Спасибо @Elena за обнаружение этой проблемы. Просто для дополнительной документации я обнаружил, что это распространенная проблема, о которой в последнее время сообщают многие люди. github.com/jupyter/jupyter/issues/401

@DavisVickers рад слышать, что это помогло. Для меня неясно, на стороне ли торнадо или юпитера эта ошибка. Что я знаю, так это то, что проблема появилась, как только я обновил торнадо до последней версии.

После установки версии 5.1.1 у меня такая ошибка notebook 6.4.4 requires tornado>=6.1, but you have tornado 5.1.1 which is incompatible

Однако использование tornado == 5.1.1, установленного conda, не решило проблему для меня.

для линукса и винды:

Пожалуйста, поделитесь не только кодом, чтобы объяснить свой ответ.

В моем случае я только что обновил свой jupyter, и это сработало.

Просто обновите блокнот, должно работать

Создайте среду conda, используя:

Активируйте среду, используя:

Установите ipykernel, используя:

Теперь откройте jupyter и выберите «my_env» из опции «Ядро». (путь: jupyter -> ядро ​​-> изменить ядро ​​-> my_env)

srilekha palepu — Intel

Я просто перезапустил программу Anaconda и открыл новую записную книжку Python 3, и Jupyter смог подключиться. 🙂

У меня была такая же проблема, когда ядро ​​​​просто не подключалось. Пробовал все решения, до сих пор нет связи.

В конце концов я заметил, что некоторые исключения ValueError возникают в консоли, где я запускал клиент jupyter. Источником этих исключений был другой скрипт Python в той же папке, что и блокнот.

Исправлен скрипт. Починил блокнот.

Я получил эту ошибку:

Поэтому я обновил prompt_toolkit:

У меня возникла аналогичная проблема на моем старом ПК, преобразованном в сервер Ubuntu 20.04, с Jupyterlab, работающим под Jupyterhub. Проблема появилась после установки Jupytext с помощью следующей команды:

который не только установил Jupytext, но и обновил мою систему до Jupyterlab 2.2.9 и Jupyterhub 1.2.2 (среди других обновлений пакетов).

После этого запустим ячейку, содержащую простой код:

под любым ядром Python 3.6 или даже ядро ​​​​R 3.6 или 4.0 оставило мне сообщение о состоянии:

Подключение ядра xxx.

но никогда не завершая соединение и не выполняя простые вычисления.

Ни переустановка Торнадо до версии 5.1.1., ни переустановка ipywidgets не помогли решить проблему.

Но, наконец, мне помогло понижение Jupyterlab и Jupyterhub до (приблизительно) исходных номеров версий:

Судя по выводам команды, действительно были применены следующие версии пакетов:

Понравилась статья? Поделить с друзьями:
  • Не запускается jnlp файл windows 10
  • Не запускается jmeter на компьютере windows 10 x64
  • Не запускается java приложение на windows 11
  • Не запускается itunes на windows 10 ничего не происходит
  • Не запускается ipconfig в windows 10