gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 15:20:51 25 4
gpt4 key购买 nike

我正在尝试在 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com