Vinh Tran
Vinh Tran

Reputation: 189

Apache Zeppelin Issues - Python Errors

I have an issue with Apache Zeppelin.

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.

Upvotes: 2

Views: 2512

Answers (1)

Akila
Akila

Reputation: 81

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.

Upvotes: 7

Related Questions