JupyterHub version issue

0

I've started seeing the following error on JupyterHub on EMR

TypeError: required field "type_ignores" missing from Module

from the simplest commands

the command

package versions

Some relevant errors: https://github.com/jupyter/notebook/issues/5746

Is there a way to update IPython on EMR?

Dev
已提問 2 個月前檢視次數 423 次
2 個答案
1

Hello,

I could confirm that the root cause to be the a bug[1] in Livy resulting in the TypeError: required field "type_ignores" missing from Module error. This is caused by a change in python >= 3.8 API [2] as reported in open JIRA for this issue [1]. This change caused IPython and PySpark code (Apache livy) to break with missing module. Please note this is known issue and EMR support as Livy officially support Python >=3.8.

[1] https://issues.apache.org/jira/browse/LIVY-795

[2] https://bugs.python.org/issue35894


Could you please test it in EMR 7.0 once and see if it works for you?

AWS
支援工程師
已回答 2 個月前
  • I am actually using version 7.0, and seeing this issue on it. I'm sure you'll be able to reproduce it too.

0

Any updates?

Dev
已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南