- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用 voila通过运行他们提供的示例,但小部件不显示( outputs from jupyter and voila ),我收到以下错误:
(voila_env) Z:\Programming\voila\notebooks>voila basics.ipynb
[Voila] Using C:\Users\MARCEL~1\AppData\Local\Temp to store connection files
[Voila] Storing connection files in C:\Users\MARCEL~1\AppData\Local\Temp\voila_hgasx21q.
[Voila] Serving static files from Z:\anaconda3\envs\voila_env\lib\site-packages\voila\static.
[Voila] Voilà is running at:
http://localhost:8866/
[Voila] WARNING | Notebook basics.ipynb is not trusted
[Voila] Kernel started: 30ffdbc7-a285-496e-965b-73d1f051c382
ERROR:tornado.application:Uncaught exception GET /voila/templates/lab/static/index.css?v=157743fa4e0f4c8216448c596a8d3586 (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/voila/templates/lab/static/index.css?v=157743fa4e0f4c8216448c596a8d3586', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "Z:\anaconda3\envs\voila_env\lib\site-packages\tornado\web.py", line 1703, in _execute
result = await result
File "Z:\anaconda3\envs\voila_env\lib\site-packages\tornado\web.py", line 2580, in get
absolute_path = self.get_absolute_path(self.root, self.path)
File "Z:\anaconda3\envs\voila_env\lib\site-packages\voila\static_file_handler.py", line 56, in get_absolute_path
template, static, relpath = path.split('/', 2)
ValueError: not enough values to unpack (expected 3, got 1)
ERROR:tornado.access:500 GET /voila/templates/lab/static/index.css?v=157743fa4e0f4c8216448c596a8d3586 (::1) 2.99ms
ERROR:tornado.application:Uncaught exception GET /voila/templates/lab/static/theme-light.css?v=25cb4a7071f905b9bdcf234d7215aa07 (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/voila/templates/lab/static/theme-light.css?v=25cb4a7071f905b9bdcf234d7215aa07', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "Z:\anaconda3\envs\voila_env\lib\site-packages\tornado\web.py", line 1703, in _execute
result = await result
File "Z:\anaconda3\envs\voila_env\lib\site-packages\tornado\web.py", line 2580, in get
absolute_path = self.get_absolute_path(self.root, self.path)
File "Z:\anaconda3\envs\voila_env\lib\site-packages\voila\static_file_handler.py", line 56, in get_absolute_path
template, static, relpath = path.split('/', 2)
ValueError: not enough values to unpack (expected 3, got 1)
ERROR:tornado.access:500 GET /voila/templates/lab/static/theme-light.css?v=25cb4a7071f905b9bdcf234d7215aa07 (::1) 5.98ms
ERROR:tornado.application:Uncaught exception GET /voila/templates/lab/static/main.js?v=9de22d21d90835225053df83a51fd350 (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/voila/templates/lab/static/main.js?v=9de22d21d90835225053df83a51fd350', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
File "Z:\anaconda3\envs\voila_env\lib\site-packages\tornado\web.py", line 1703, in _execute
result = await result
File "Z:\anaconda3\envs\voila_env\lib\site-packages\tornado\web.py", line 2580, in get
absolute_path = self.get_absolute_path(self.root, self.path)
File "Z:\anaconda3\envs\voila_env\lib\site-packages\voila\static_file_handler.py", line 56, in get_absolute_path
template, static, relpath = path.split('/', 2)
ValueError: not enough values to unpack (expected 3, got 1)
ERROR:tornado.access:500 GET /voila/templates/lab/static/main.js?v=9de22d21d90835225053df83a51fd350 (::1) 1.99ms
WARNING:tornado.general:403 GET /voila/files/favicon.ico (::1): File not whitelisted
WARNING:tornado.access:403 GET /voila/files/favicon.ico (::1) 0.99ms
好像路径有问题。我的操作系统安装在驱动器 C: 中,而 Anaconda 和代码则放在另一个驱动器 (Z:) 中。
--enable_nbextensions=True
,它没有改变任何东西; # packages in environment at Z:\anaconda3\envs\voila_env:
#
# Name Version Build Channel
argon2-cffi 20.1.0 py38he774522_1
async_generator 1.10 py_0 conda-forge
attrs 20.2.0 pyh9f0ad1d_0 conda-forge
backcall 0.2.0 py_0
blas 1.0 mkl
bleach 3.2.1 pyh9f0ad1d_0 conda-forge
blosc 1.20.1 ha925a31_0 conda-forge
bqplot 0.12.17 pyh9f0ad1d_0 conda-forge
brotli 1.0.9 ha925a31_0 conda-forge
brotlipy 0.7.0 py38h1e8a9f7_1000 conda-forge
bzip2 1.0.8 he774522_3 conda-forge
ca-certificates 2020.6.20 hecda079_0 conda-forge
certifi 2020.6.20 py38h32f6830_0 conda-forge
cffi 1.14.3 py38h7a1dbc1_0
chardet 3.0.4 py38h32f6830_1007 conda-forge
charls 2.1.0 h33f27b4_2 conda-forge
cloudpickle 1.6.0 py_0 conda-forge
colorama 0.4.3 py_0
cryptography 3.1.1 py38hba49e27_0 conda-forge
cycler 0.10.0 py_2 conda-forge
cytoolz 0.11.0 py38h1e8a9f7_0 conda-forge
dask-core 2.28.0 py_0 conda-forge
decorator 4.4.2 py_0
defusedxml 0.6.0 py_0 conda-forge
entrypoints 0.3 py38h32f6830_1001 conda-forge
freetype 2.10.2 hd328e21_0 conda-forge
giflib 5.2.1 h2fa13f4_2 conda-forge
git 2.23.0 h6bb4b03_0
icc_rt 2019.0.0 h0cc432a_1
idna 2.10 pyh9f0ad1d_0 conda-forge
imagecodecs 2020.5.30 py38h2dff1b1_2 conda-forge
imageio 2.9.0 py_0 conda-forge
importlib-metadata 1.7.0 py38h32f6830_0 conda-forge
importlib_metadata 1.7.0 0 conda-forge
intel-openmp 2020.1 216
ipydatawidgets 4.1.0 pyh9f0ad1d_0 conda-forge
ipykernel 5.3.4 py38h5ca1d4c_0
ipython 7.18.1 py38h5ca1d4c_0
ipython_genutils 0.2.0 py_1 conda-forge
ipyvolume 0.6.0a6 pyh9f0ad1d_0 conda-forge
ipywebrtc 0.5.0 py38_0 conda-forge
ipywidgets 7.5.1 pyh9f0ad1d_1 conda-forge
jedi 0.17.2 py38_0
jinja2 2.11.2 pyh9f0ad1d_0 conda-forge
jpeg 9d he774522_0 conda-forge
jsonschema 3.2.0 py38h32f6830_1 conda-forge
jupyter_client 6.1.7 py_0 conda-forge
jupyter_core 4.6.3 py38h32f6830_1 conda-forge
jupyter_server 0.3.0 py38h32f6830_0 conda-forge
jupyterlab_pygments 0.1.1 pyh9f0ad1d_0 conda-forge
jxrlib 1.1 hfa6e2cd_2 conda-forge
kiwisolver 1.2.0 py38heaebd3c_0 conda-forge
lcms2 2.11 he1115b7_0 conda-forge
lerc 2.2 ha925a31_0 conda-forge
libaec 1.0.4 he025d50_1 conda-forge
libblas 3.8.0 16_mkl conda-forge
libcblas 3.8.0 16_mkl conda-forge
liblapack 3.8.0 16_mkl conda-forge
libpng 1.6.37 ha81a0f5_2 conda-forge
libsodium 1.0.17 h2fa13f4_0 conda-forge
libtiff 4.1.0 h885aae3_6 conda-forge
libwebp-base 1.1.0 hfa6e2cd_3 conda-forge
libzopfli 1.0.3 ha925a31_0 conda-forge
lz4-c 1.9.2 h62dcd97_2 conda-forge
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markupsafe 1.1.1 py38h1e8a9f7_1 conda-forge
matplotlib-base 3.3.2 py38hfb9ee82_0 conda-forge
mistune 0.8.4 py38h9de7a3e_1001 conda-forge
mkl 2020.1 216
mkl-service 2.3.0 py38hb782905_0
msys2-conda-epoch 20160418 1
nbclient 0.5.0 py_0 conda-forge
nbconvert 6.0.6 py38h32f6830_0 conda-forge
nbformat 5.0.7 py_0 conda-forge
nest-asyncio 1.4.0 py_1 conda-forge
networkx 2.5 py_0 conda-forge
notebook 6.1.1 py38_0
numpy 1.19.1 py38h72c728b_0 conda-forge
olefile 0.46 py_0 conda-forge
openjpeg 2.3.1 h57dd2e7_3 conda-forge
openssl 1.1.1h he774522_0 conda-forge
packaging 20.4 pyh9f0ad1d_0 conda-forge
pandas 1.1.2 py38h7ae7562_0 conda-forge
pandoc 2.10.1 he774522_0 conda-forge
pandocfilters 1.4.2 py_1 conda-forge
parso 0.7.0 py_0
pickleshare 0.7.5 py38_1000
pillow 7.2.0 py38h7011068_1 conda-forge
pip 20.2.3 py_0 conda-forge
prometheus_client 0.8.0 pyh9f0ad1d_0 conda-forge
prompt-toolkit 3.0.7 py_0
pycparser 2.20 py_2
pygments 2.7.1 py_0 conda-forge
pyopenssl 19.1.0 py_1 conda-forge
pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge
pyrsistent 0.17.3 py38h1e8a9f7_0 conda-forge
pysocks 1.7.1 py38h32f6830_1 conda-forge
python 3.8.5 h60c2a47_8_cpython conda-forge
python-dateutil 2.8.1 py_0 conda-forge
python_abi 3.8 1_cp38 conda-forge
pythreejs 2.2.0 pyh8c360ce_0 conda-forge
pytz 2020.1 pyh9f0ad1d_0 conda-forge
pywavelets 1.1.1 py38h1e00858_2 conda-forge
pywin32 227 py38hfa6e2cd_0 conda-forge
pywinpty 0.5.7 py38_0 conda-forge
pyyaml 5.3.1 py38h1e8a9f7_0 conda-forge
pyzmq 19.0.2 py38h77b9d75_0 conda-forge
requests 2.24.0 pyh9f0ad1d_0 conda-forge
scikit-image 0.17.2 py38h251f6bf_2 conda-forge
scipy 1.5.0 py38h9439919_0
send2trash 1.5.0 py_0 conda-forge
setuptools 49.6.0 py38h32f6830_1 conda-forge
six 1.15.0 pyh9f0ad1d_0 conda-forge
snappy 1.1.8 ha925a31_3 conda-forge
sqlite 3.33.0 he774522_0 conda-forge
terminado 0.9.1 py38h32f6830_0 conda-forge
testpath 0.4.4 py_0 conda-forge
tifffile 2020.9.22 py_0 conda-forge
tk 8.6.10 he774522_0 conda-forge
toolz 0.11.1 py_0 conda-forge
tornado 6.0.4 py38hfa6e2cd_0 conda-forge
traitlets 4.3.3 py38h32f6830_1 conda-forge
traittypes 0.2.1 pyh9f0ad1d_2 conda-forge
urllib3 1.25.10 py_0 conda-forge
vc 14.1 h869be7e_1 conda-forge
voila 0.2.2 py_0 conda-forge
vs2015_runtime 14.16.27012 h30e32a0_2 conda-forge
wcwidth 0.2.5 py_0
webencodings 0.5.1 py_1 conda-forge
wheel 0.35.1 pyh9f0ad1d_0 conda-forge
widgetsnbextension 3.5.1 py38h32f6830_1 conda-forge
win_inet_pton 1.1.0 py38_0 conda-forge
wincertstore 0.2 py38_1003 conda-forge
winpty 0.4.3 4 conda-forge
xz 5.2.5 h62dcd97_1 conda-forge
yaml 0.2.5 he774522_0 conda-forge
zeromq 4.3.2 ha925a31_3 conda-forge
zfp 0.5.5 ha925a31_1 conda-forge
zipp 3.1.0 py_0 conda-forge
zlib 1.2.11 h62dcd97_1009 conda-forge
zstd 1.4.5 h1f3a1b7_2 conda-forge
我错过了什么吗?
最佳答案
好吧,我最近通过卸载 Anaconda 并将其重新安装到驱动器 C: 中解决了我自己的问题。
如果 Anaconda 在另一个驱动器中,我将无法工作。
关于python-3.x - 带有 Voila 的 Ipywidgets 未显示 : ERROR tornado Uncaught exception GET,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64208960/
reqwest v0.9 将 serde v1.0 作为依赖项,因此实现 converting serde_json errors into reqwest error . 在我的代码中,我使用 se
我有这个代码: let file = FileStorage { // ... }; file.write("Test", bytes.as_ref()) .map_err(|e| Mu
我只是尝试用angular-cli创建一个新项目,然后运行服务器,但是它停止并显示一条有趣的消息:Error: No errors。 我以这种方式更新了(希望有帮助):npm uninstall -g
我从我的 javascript 发送交易 Metamask 打开传输对话框 我确定 i get an error message in metamask (inpage.js:1 MetaMask -
这个问题在这里已经有了答案: How do you define custom `Error` types in Rust? (3 个答案) How to get a reference to a
我想知道两者之间有什么大的区别 if let error = error{} vs if error != nil?或者只是人们的不同之处,比如他们如何用代码表达自己? 例如,如果我使用这段代码: u
当我尝试发送超过 50KB 的图像时,我在 Blazor 服务器应用程序上收到以下错误消息 Error: Connection disconnected with error 'Error: Serv
我有一个error-page指令,它将所有异常重定向到错误显示页面 我的web.xml: [...] java.lang.Exception /vi
我有这样的对象: address: { "phone" : 888, "value" : 12 } 在 WHERE 中我需要通过 address.value 查找对象,但是在 SQL 中有函数
每次我尝试编译我的代码时,我都会遇到大量错误。这不是我的代码的问题,因为它在另一台计算机上工作得很好。我尝试重新安装和修复,但这没有帮助。这是整个错误消息: 1>------ Build starte
在我的代码的类部分,如果我写一个错误,则在不应该的情况下,将有几行报告为错误。我将'| error'放在可以从错误中恢复的良好/安全位置,但是我认为它没有使用它。也许它试图在某个地方恢复中间表情? 有
我遇到了 csv 输入文件整体读取故障的问题,我可以通过在 read_csv 函数中添加 "error_bad_lines=False" 来删除这些问题来解决这个问题。 但是我需要报告这些造成问题的文
在 Spring 中,验证后我们在 controller 中得到一个 BindingResult 对象。 很简单,如果我收到验证错误,我想重新显示我的表单,并在每个受影响的字段上方显示错误消息。 因此
我不知道出了什么问题,因为我用 Java 编程了大约一年,从来没有遇到过这个错误。在一分钟前在 Eclipse 中编译和运行工作,现在我得到这个错误: #A fatal error has been
SELECT to_char(messages. TIME, 'YYYY/MM/DD') AS FullDate, to_char(messages. TIME, 'MM/DD
我收到这些错误: AnonymousPath\Anonymized.vb : error BC30037: Character is not valid. AnonymousPath\Anonymiz
我刚刚安装了 gridengine 并在执行 qstat 时出现错误: error: commlib error: got select error (Connection refused) erro
嗨,我正在学习 PHP,我从 CRUD 系统开始,我在 Windows 上安装了 WAMP 服务器,当我运行它时,我收到以下错误消息。 SCREAM: Error suppression ignore
我刚刚开始一个新项目,我正在学习核心数据教程,可以找到:https://www.youtube.com/watch?v=zZJpsszfTHM 我似乎无法弄清楚为什么会抛出此错误。我有一个名为“Exp
当我使用 Jenkins 运行新构建时,出现以下错误: "FilePathY\XXX.cpp : fatal error C1853: 'FilePathZ\XXX.pch' precompiled
我是一名优秀的程序员,十分优秀!