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

标签 jupyter-notebook xeus-cling

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

  • 安装了全新的 Miniconda

  • 创建了一个新环境

  • 已安装 Jupyter(unisng conda 安装)

  • 使用命令安装 xeus-cling :

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

  • 我激活了 Jupyter notebook 并得到了以下内核错误

[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

我该怎么做才能解决这个问题?
宜兰

最佳答案

恐怕只是支持的问题。尚不支持 Windows...您现在必须使用 linux 或 OS X。

关于jupyter-notebook - 为什么使用 xeus-cling 激活 Jupyter 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53899258/

相关文章:

amazon-web-services - AWS EMR jupyter 密码

python - 基于列名称扩展的 DataFrame 列的平均值

python - 在 jupyter 上为随时间变化的图设置 matplotlib 后端

python - Jupyter 笔记本 : no module named pandas

jupyter-notebook - 我的jupyter笔记本julia内核突然开始出现错误

c++ - 如何将 boost 与 xeus-cling jupyter 内核结合使用?