beakerx
beakerx copied to clipboard
missing beakerx.button
With latest code on Jupyter Lab 1.2.9 with the standard labextension (see previous issue) I get the following error when doing a simple "from beakerx import *":
from beakerx import *
from beakerx.object import beakerx
ModuleNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.8/site-packages/beakerx/init.py in
/usr/local/lib/python3.8/site-packages/beakerx/commands.py in
/usr/local/lib/python3.8/site-packages/beakerx_magics/init.py in
/usr/local/lib/python3.8/site-packages/beakerx_magics/sparkex_magic.py in
/usr/local/lib/python3.8/site-packages/beakerx/spark/init.py in
/usr/local/lib/python3.8/site-packages/beakerx/spark/spark.py in
/usr/local/lib/python3.8/site-packages/beakerx_magics/sparkex_widget/init.py in
/usr/local/lib/python3.8/site-packages/beakerx_magics/sparkex_widget/spark_progress_bar.py in
ModuleNotFoundError: No module named 'beakerx.button'
I tried to copy over button and got a bit further (missing "bottle" and "pyspark" dependencies) but then it breaks again on a pyspark API change:
~/.local/lib/python3.8/site-packages/pyspark/cloudpickle.py in _make_cell_set_template_code() 124 ) 125 else: --> 126 return types.CodeType( 127 co.co_argcount, 128 co.co_kwonlyargcount,
TypeError: an integer is required (got type bytes)
Latter is because I'm on Python 3.8, which PySpark 2.4.5 does not support.