twosigma / beakerx

Beaker Extensions for Jupyter Notebook
http://BeakerX.com
Apache License 2.0
2.79k stars 382 forks source link

IPython won't print output after installation of optional beakerx modules #8306

Closed shivendra90 closed 3 years ago

shivendra90 commented 3 years ago

Hello,

I installed the latest beakerx with its optional modules such as tabledisplay. Before beakerx, on IPython consoles, running simple commands would produce outputs as expected. However after installation of optional modules, I have to add the print() command to return the same output.

For example:

df = pd.read_csv("some_data.csv")
df.describe()

Would return descriptive stats without the print function. Now, after installation of beakerx, I have to add print(df.describe()) to return the same output. Running only df.describe() shows a blank line. Is there a setting/dependency preventing this normal behaviour and how can I fix it?

ildipo commented 3 years ago

@EfimovVladimir Can you verify this please?

shivendra90 commented 3 years ago

Please do note that this is after installation of beakerx_widgets and beakerx_tabledisplay modules.

Berezhnyk commented 3 years ago

BeakerX uses a deprecated function. See this: https://github.com/welfare-state-analytics/welfare_state_analytics/issues/51#issuecomment-595743523

EfimovVladimir commented 3 years ago

@shivendra90 @Berezhnyk may be you are not correctly installed beakerx not reproduced on jupyter notebook image

not reproduced on IPython console image

try to install beakerx on new conda environment with python 3.7.5 and openjdk=11.0.1 like

conda create -y --name be1_all python=3.7.5
conda activate be1_all
conda install -y -c conda-forge openjdk=11.0.1
conda install -y -c beakerx beakerx_all
shivendra90 commented 3 years ago

@EfimovVladimir Ok thanks. Could be the missing open_jdk.