Apache Zeppelin 问题 - Python 错误 [英] Apache Zeppelin Issues - Python Errors

查看:40
本文介绍了Apache Zeppelin 问题 - Python 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用 Apache Zeppelin 时遇到问题.

I have an issue with Apache Zeppelin.

当我运行一个新的 python notebook 并尝试执行像 import dask 这样的命令时它导致以下错误:

When I run a new python notebook and try to execute a command like import dask it results in the following errors:

Traceback (most recent call last):
  File "/tmp/1599314081091-0/zeppelin_python.py", line 162, in <module>
    code = compile(mod, '<stdin>', 'exec')
TypeError: required field "type_ignores" missing from Module. 

这看起来像是设置问题,但我不确定在哪里配置.

This looks like a setup issue, but I'm not sure where to configure.

推荐答案

我在使用 zeppelin-0.9.0-preview2 时遇到了同样的错误.Zeppelin 似乎与 python 3.8 不兼容.将 python 降级到 3.7 解决了这个问题.这是 CPython https://bugs.python.org/issue35894 中报告的问题.看来我们得等 Zeppelin 通过检查 python 版本来添加修复了.

I got the same error with zeppelin-0.9.0-preview2. It seems Zeppelin is not compatible with python 3.8. Downgrading python to 3.7 fixed the issue. This the issue reported in CPython https://bugs.python.org/issue35894. Looks like we have to wait for Zeppelin to add a fix by checking the python version.

这篇关于Apache Zeppelin 问题 - Python 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆