为什么用xeus-cling激活Jupyter失败

时间:2018-12-22 21:00:51

标签: jupyter-notebook xeus-cling

我正在尝试在Windows 10上使用xeus-cling C ++内核激活Jupiter 我做了以下事情:

  • 安装了全新的Miniconda

  • 创建了一个新环境

  • 已安装Jupyter(unisng conda安装)

  • 使用以下命令安装xeus-cling:

    conda安装xeus-cling笔记本-c QuantStack -c conda-forge

  • 我激活了Jupyter笔记本,并收到以下内核错误

[I 22:30:00.589 NotebookApp] Serving notebooks from local directory: C:\Users\IlanH
[I 22:30:00.589 NotebookApp] The Jupyter Notebook is running at:
[I 22:30:00.605 NotebookApp] http://localhost:8888/?token=8cb940353f781842ede9d93e3489b7d108179ad11837e49e
[I 22:30:00.605 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 22:30:00.855 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///C:/Users/IlanH/AppData/Roaming/jupyter/runtime/nbserver-13328-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=8cb940353f781842ede9d93e3489b7d108179ad11837e49e
[I 22:30:16.874 NotebookApp] Creating new notebook in
[I 22:30:21.022 NotebookApp] Kernel started: bd4fa5d4-5007-4f70-b7bb-bf8eca013c99
2
2
2
2
2
2
2
2
2
2
2
2
2
2
ERROR in cling::CIFactory::createCI():
  resource directory C:/bld/xeus-cling_1544660831115/_b_env/Library\lib\clang\5.0.0 not found!
input_line_1:1:10: fatal error: 'new' file not found
#include <new>
         ^~~~~
Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with _CRT_MSVCP_CURRENT 'msvcp140.dll'
  Extraction of runtime standard library version was: ''
[I 22:30:29.949 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
2
2

[I 22:30:00.589 NotebookApp] Serving notebooks from local directory: C:\Users\IlanH
[I 22:30:00.589 NotebookApp] The Jupyter Notebook is running at:
[I 22:30:00.605 NotebookApp] http://localhost:8888/?token=8cb940353f781842ede9d93e3489b7d108179ad11837e49e
[I 22:30:00.605 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 22:30:00.855 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///C:/Users/IlanH/AppData/Roaming/jupyter/runtime/nbserver-13328-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=8cb940353f781842ede9d93e3489b7d108179ad11837e49e
[I 22:30:16.874 NotebookApp] Creating new notebook in
[I 22:30:21.022 NotebookApp] Kernel started: bd4fa5d4-5007-4f70-b7bb-bf8eca013c99
2
2
2
2
2
2
2
2
2
2
2
2
2
2
ERROR in cling::CIFactory::createCI():
  resource directory C:/bld/xeus-cling_1544660831115/_b_env/Library\lib\clang\5.0.0 not found!
input_line_1:1:10: fatal error: 'new' file not found
#include <new>
         ^~~~~
Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with _CRT_MSVCP_CURRENT 'msvcp140.dll'
  Extraction of runtime standard library version was: ''
[I 22:30:29.949 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
2
2

我该怎么办才能解决问题?
宜兰

1 个答案:

答案 0 :(得分:1)

害怕只是支持问题。 Windows尚不支持...您现在必须使用linux或OSX。