beakerx icon indicating copy to clipboard operation
beakerx copied to clipboard

ModuleNotFoundError: No module named 'beakerx'

Open vnijs opened this issue 4 years ago • 2 comments

I can no longer install beakerx in a docker image with pip3. Error message and docker file below. This worked before although there were issues running the SQL kernel reliably. Strangely I tried installing beakerx in a running Docker container and that seems to work fine.

Any suggestions?

https://github.com/radiant-rstats/docker/blob/master/rsm-msba-beakerx/Dockerfile

Step 5/9 : RUN pip3 install beakerx==1.4.1   && beakerx install   && jupyter labextension install beakerx-jupyterlab
 ---> Running in 63c8acb08198
Collecting beakerx==1.4.1
  Downloading https://files.pythonhosted.org/packages/d7/f3/08a7e89ed556ed98b5b1df753b0d4687598e41f6a534b331b9450cd594e4/beakerx-1.4.1.tar.gz (117.7MB)
Building wheels for collected packages: beakerx
  Building wheel for beakerx (setup.py): started
  Building wheel for beakerx (setup.py): finished with status 'done'
  Created wheel for beakerx: filename=beakerx-1.4.1-py2.py3-none-any.whl size=118254917 sha256=733aa8dc9756f34454c97a665133dde313c59f43149390c718568cac03779f24
  Stored in directory: /root/.cache/pip/wheels/ab/33/ed/1cb9c7d0c88c3c84b02f9a3299f24486ab9f0df58e85a9dd91
Successfully built beakerx
Installing collected packages: beakerx
Successfully installed beakerx-1.4.1
Traceback (most recent call last):
  File "/usr/bin/beakerx", line 5, in <module>
    from beakerx import run
ModuleNotFoundError: No module named 'beakerx'

vnijs avatar Nov 12 '19 19:11 vnijs

Hi, @vnijs I noticed you lock the version to 1.4.1, Seems it used to work before, did it work in a previous version? In the meantime we are investigating on this issue could you use conda package as a workaround?

LeeTZ avatar Dec 04 '19 14:12 LeeTZ

Thanks for the reply @LeeTZ. The package used to install but had another issue that prevented it from working (https://github.com/twosigma/beakerx/issues/7867). I use only pip in my docker containers but perhaps @CerebralMastication could try it out?

vnijs avatar Dec 04 '19 22:12 vnijs