twosigma / twosigma/beakerx

Is pip3 installation possible yet?

Open
#8,305 14 comments 0 reactions 2 assignees Claimed by @ildipo View on GitHub
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

Hi,
I would like to use beakerx with Python and Java kernels.
I tried to install it via pip3 on my MacBook but I noted that not everything works well.

SUMMARY OF ISSUE
1. The package beakerx-kernel-java (2.0.1) does not install Java kernel
2. The package beakerx-all (2.0.1) does not install because it has the following error:
```
ERROR: Could not find a version that satisfies the requirement beakerx-widgets>=2.0.1 (from beakerx-all) (from versions: none)
ERROR: No matching distribution found for beakerx-widgets>=2.0.1 (from beakerx-all)
```
**beakerx-widgets does not exist!**
3. In order to use Java kernel, I had to install IJava (https://github.com/SpencerPark/IJava)
4. With such configuration, Java input is not possible in Java cells when the kernel is Python and magic is `%java`

So, the short question is the one in the subject: *Is pip3 installation possible yet?*

LONG HISTORY
Currently, if I search `beakerx` via pip3, I obtain:
```
beakerx (2.0.1) - BeakerX: Beaker Extensions for Jupyter Notebook
splice-beakerx (0.0.1) - Splice Modification for TwoSigma Beakerx
beakerx-tabledisplay (2.0.1) - BeakerX: Beaker Extensions for Jupyter Notebook
beakerx-all (2.0.1) - BeakerX: Beaker Extensions for Jupyter Notebook
beakerx-base (2.0.1) - BeakerX: Beaker Base Extensions for Jupyter Notebook
beakerx-kernel-scala (2.0.0) - BeakerX: Beaker Extensions for Jupyter Notebook
beakerx-kernel-clojure (2.0.0) - BeakerX: Beaker Extensions for Jupyter Notebook
beakerx-kernel-groovy (2.0.0) - BeakerX: Beaker Extensions for Jupyter Notebook
beakerx-kernel-kotlin (2.0.0) - BeakerX: Beaker Extensions for Jupyter Notebook
beakerx-kernel-autotranslation (2.0.0) - BeakerX: Beaker Extensions for Jupyter Notebook
beakerx-kernel-sql (2.0.0) - BeakerX: Beaker Extensions for Jupyter Notebook
beakerx-kernel-java (2.0.0) - BeakerX: Beaker Extensions for Jupyter Notebook
```

If I install `pip3 install beakerx`, the program installs `beakerx` and `beakerx-base`.
Then, I supposed that it was necessary to install `beakerx-kernel-java` to have Java kernel. I did it, but the kernel was not installed.
Then, I tried to install `beakerx-all`, but it raised the error
```
ERROR: Could not find a version that satisfies the requirement beakerx-widgets>=2.0.1 (from beakerx-all) (from versions: none)
ERROR: No matching distribution found for beakerx-widgets>=2.0.1 (from beakerx-all)
```
In the above list, the package `beakerx-widgets` does not exist.

A Java kernel can be installed considering IJava (https://github.com/SpencerPark/IJava).
With such a kernel, everything seems to work.
The only big issue is when in a Java cell (`%java`), there is code for reading a user input like `sc = Scanner(System.in); sc.nextInt(); `
Executing the cell, the notebook does not present the input form and freezes.
If I use IJava kernel, everything works well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.