在anaconda安装ipython笔记本电脑的问题

我在anaconda安装ipython notebook / jupyter笔记本时遇到了一些问题 .

实际上,当我尝试在2.7 anaconda中安装python 3.4内核时,问题就出现了 . 我没有这样做,只是安装了anaconda 3.4 . 之后我意识到python 3.4的jupyter笔记本不起作用并且给出了内核错误 . 我以某种方式设法通过重新安装anaconda 3.4来解决它 .

最近我尝试升级anaconda 3.4,出了点问题 . 升级因大量例外而终止,ipython再次停止运行 .

我试图重新安装anaconda 3.4(到版本3.5),但它没有帮助 . 之后我重新安装了2.7和3.5版本,但没有再次出现 . 相反,安装2.7会出错 .

现在情况是:Anaconda 2.7安装有错误,但它以某种方式工作(包括jupyter) . 在anaconda 3.5中,jupyter无法创建带有内核错误的新puthon3文件(最后请参阅错误日志) .

在我看来,我做了一些愚蠢的事情,我不知道如何解决它 . 我想让两个版本的pyhon工作(尤其是笔记本电脑) . 我会感谢你对这种情况的任何帮助 . 操作系统是Windows 7专业版 .

Traceback (most recent call last):
      File "C:\Anaconda_3\lib\site-packages\notebook\base\handlers.py", line 458, in wrapper
    result = yield gen.maybe_future(method(self, *args, **kwargs))
  File "C:\Anaconda_3\lib\site-packages\tornado\gen.py", line 1008, in run
    value = future.result()
  File "C:\Anaconda_3\lib\site-packages\tornado\concurrent.py", line 232, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "C:\Anaconda_3\lib\site-packages\tornado\gen.py", line 1014, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Anaconda_3\lib\site-packages\notebook\services\sessions\handlers.py", line 58, in post
    sm.create_session(path=path, kernel_name=kernel_name))
  File "C:\Anaconda_3\lib\site-packages\tornado\gen.py", line 1008, in run
    value = future.result()
  File "C:\Anaconda_3\lib\site-packages\tornado\concurrent.py", line 232, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "C:\Anaconda_3\lib\site-packages\tornado\gen.py", line 1014, in run
    yielded = self.gen.throw(*exc_info)
  File "C:\Anaconda_3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 73, in create_session
    self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
  File "C:\Anaconda_3\lib\site-packages\tornado\gen.py", line 1008, in run
    value = future.result()
  File "C:\Anaconda_3\lib\site-packages\tornado\concurrent.py", line 232, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 3, in raise_exc_info
  File "C:\Anaconda_3\lib\site-packages\tornado\gen.py", line 282, in wrapper
    yielded = next(result)
  File "C:\Anaconda_3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 87, in start_kernel
    super(MappingKernelManager, self).start_kernel(**kwargs)
  File "C:\Anaconda_3\lib\site-packages\jupyter_client\multikernelmanager.py", line 109, in start_kernel
    km.start_kernel(**kwargs)
  File "C:\Anaconda_3\lib\site-packages\jupyter_client\manager.py", line 244, in start_kernel
    **kw)
  File "C:\Anaconda_3\lib\site-packages\jupyter_client\manager.py", line 190, in _launch_kernel
    return launch_kernel(kernel_cmd, **kw)
  File "C:\Anaconda_3\lib\site-packages\jupyter_client\launcher.py", line 108, in launch_kernel
    proc = Popen(cmd, **kwargs)
  File "C:\Anaconda_3\lib\subprocess.py", line 950, in __init__
    restore_signals, start_new_session)
  File "C:\Anaconda_3\lib\subprocess.py", line 1220, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] Не удается найти указанный файл

回答(0)