fbpx

Проблемы с запуском Jupyter Notebook (Anaconda)

332 просмотраjupyter-notebook kernel error winerror 87
0
0 Комментариев

Добрый вечер, данная проблема уже 2-й день не дает мне покоя. Просьба помочь разобраться с происходящим.
При попытке работать с Jupyter Notebook, запуская предварительно через Anaconda, в правом верхнем углу выскакивает красное окошко с надписью “Kernel error”. При нажатии на него появляется следующий код (указан ниже). Соответственно, не могу запустить даже print(‘hello, world!’). Подскажите, как подойти к решению данной проблемы?

 <span class="n">Traceback</span> <span class="p">(</span><span class="n">most</span> <span class="n">recent</span> <span class="n">call</span> <span class="n">last</span><span class="p">):</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\t</span><span class="s2">ornado\web.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1592</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_execute</span>
    <span class="n">result</span> <span class="o">=</span> <span class="k">yield</span> <span class="n">result</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\t</span><span class="s2">ornado\gen.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1133</span><span class="p">,</span> <span class="ow">in</span> <span class="n">run</span>
    <span class="n">value</span> <span class="o">=</span> <span class="n">future</span><span class="o">.</span><span class="n">result</span><span class="p">()</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\t</span><span class="s2">ornado\gen.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1141</span><span class="p">,</span> <span class="ow">in</span> <span class="n">run</span>
    <span class="n">yielded</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">gen</span><span class="o">.</span><span class="n">throw</span><span class="p">(</span><span class="o">*</span><span class="n">exc_info</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\n</span><span class="s2">otebook\services\sessions\handlers.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">73</span><span class="p">,</span> <span class="ow">in</span> <span class="n">post</span>
    <span class="nb">type</span><span class="o">=</span><span class="n">mtype</span><span class="p">))</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\t</span><span class="s2">ornado\gen.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1133</span><span class="p">,</span> <span class="ow">in</span> <span class="n">run</span>
    <span class="n">value</span> <span class="o">=</span> <span class="n">future</span><span class="o">.</span><span class="n">result</span><span class="p">()</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\t</span><span class="s2">ornado\gen.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1141</span><span class="p">,</span> <span class="ow">in</span> <span class="n">run</span>
    <span class="n">yielded</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">gen</span><span class="o">.</span><span class="n">throw</span><span class="p">(</span><span class="o">*</span><span class="n">exc_info</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\n</span><span class="s2">otebook\services\sessions\sessionmanager.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">79</span><span class="p">,</span> <span class="ow">in</span> <span class="n">create_session</span>
    <span class="n">kernel_id</span> <span class="o">=</span> <span class="k">yield</span> <span class="bp">self</span><span class="o">.</span><span class="n">start_kernel_for_session</span><span class="p">(</span><span class="n">session_id</span><span class="p">,</span> <span class="n">path</span><span class="p">,</span> <span class="n">name</span><span class="p">,</span> <span class="nb">type</span><span class="p">,</span> <span class="n">kernel_name</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\t</span><span class="s2">ornado\gen.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1133</span><span class="p">,</span> <span class="ow">in</span> <span class="n">run</span>
<span class="n">value</span> <span class="o">=</span> <span class="n">future</span><span class="o">.</span><span class="n">result</span><span class="p">()</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\t</span><span class="s2">ornado\gen.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1141</span><span class="p">,</span> <span class="ow">in</span> <span class="n">run</span>
    <span class="n">yielded</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">gen</span><span class="o">.</span><span class="n">throw</span><span class="p">(</span><span class="o">*</span><span class="n">exc_info</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\n</span><span class="s2">otebook\services\sessions\sessionmanager.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">92</span><span class="p">,</span> <span class="ow">in</span> <span class="n">start_kernel_for_session</span>
    <span class="bp">self</span><span class="o">.</span><span class="n">kernel_manager</span><span class="o">.</span><span class="n">start_kernel</span><span class="p">(</span><span class="n">path</span><span class="o">=</span><span class="n">kernel_path</span><span class="p">,</span> <span class="n">kernel_name</span><span class="o">=</span><span class="n">kernel_name</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\t</span><span class="s2">ornado\gen.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1133</span><span class="p">,</span> <span class="ow">in</span> <span class="n">run</span>
    <span class="n">value</span> <span class="o">=</span> <span class="n">future</span><span class="o">.</span><span class="n">result</span><span class="p">()</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\t</span><span class="s2">ornado\gen.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">326</span><span class="p">,</span> <span class="ow">in</span> <span class="n">wrapper</span>
    <span class="n">yielded</span> <span class="o">=</span> <span class="nb">next</span><span class="p">(</span><span class="n">result</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages</span><span class="se">\n</span><span class="s2">otebook\services\kernels\kernelmanager.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">160</span><span class="p">,</span> <span class="ow">in</span> <span class="n">start_kernel</span>
    <span class="nb">super</span><span class="p">(</span><span class="n">MappingKernelManager</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="n">start_kernel</span><span class="p">(</span><span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages\jupyter_client\multikernelmanager.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">110</span><span class="p">,</span> <span class="ow">in</span> <span class="n">start_kernel</span>
    <span class="n">km</span><span class="o">.</span><span class="n">start_kernel</span><span class="p">(</span><span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages\jupyter_client\manager.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">259</span><span class="p">,</span> <span class="ow">in</span> <span class="n">start_kernel</span>
    <span class="o">**</span><span class="n">kw</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages\jupyter_client\manager.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">204</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_launch_kernel</span>
    <span class="k">return</span> <span class="n">launch_kernel</span><span class="p">(</span><span class="n">kernel_cmd</span><span class="p">,</span> <span class="o">**</span><span class="n">kw</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\site-packages\jupyter_client\launcher.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">128</span><span class="p">,</span> <span class="ow">in</span> <span class="n">launch_kernel</span>
    <span class="n">proc</span> <span class="o">=</span> <span class="n">Popen</span><span class="p">(</span><span class="n">cmd</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\subprocess.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">756</span><span class="p">,</span> <span class="ow">in</span> <span class="fm">__init__</span>
    <span class="n">restore_signals</span><span class="p">,</span> <span class="n">start_new_session</span><span class="p">)</span>
  <span class="n">File</span> <span class="s2">"C:\ProgramData\Anaconda3\lib\subprocess.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1155</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_execute_child</span>
    <span class="n">startupinfo</span><span class="p">)</span>
<span class="ne">OSError</span><span class="p">:</span> <span class="p">[</span><span class="n">WinError</span> <span class="mi">87</span><span class="p">]</span> <span class="err">Параметр</span> <span class="err">задан</span> <span class="err">неверно
</span>

Добавить комментарий

0 Answers

Python Опубликовано 21.04.2019
Напишите свой ответ на данный вопрос.
Scroll Up