【问题标题】:Why activating Jupyter with xeus-cling fails为什么用 xeus-cling 激活 Jupyter 失败
【发布时间】:2019-05-22 18:43:44
【问题描述】:

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

  • 安装了全新的 Miniconda

  • 创建了一个新环境

  • 已安装 Jupyter(未安装 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

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

【问题讨论】:

  • 同样的问题 :)

标签: jupyter-notebook xeus-cling


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2019-05-02
    • 2020-07-27
    • 1970-01-01
    • 2021-07-26
    • 2020-05-16
    • 2020-02-29
    • 1970-01-01
    • 2011-11-15
    • 2023-03-31
    相关资源
    最近更新 更多