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



我正在尝试在 Windows 10 上使用 xeus 粘附C++内核激活 Jupiter我做了以下工作:

  • 安装了全新的Miniconda

  • 创建了一个新环境

  • 已安装的Jupyter (unisng conda install)

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

    conda install xeus-cling notebook -c QuantStack -c conda-forge

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

[I 22:30:00.589 NotebookApp] Serving notebooks from local directory: C:UsersIlanH
[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/Librarylibclang5.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:UsersIlanH
[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/Librarylibclang5.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

我能做些什么来解决问题?
宜兰

恐怕这只是一个支持问题。尚不支持视窗...您现在必须使用Linux或OS X。

最新更新