GithubHelp home page GithubHelp logo

Comments (7)

speters33w avatar speters33w commented on July 24, 2024 1

Try this:

https://github.com/shoebot/jupyter-shoebot

from jupyter-shoebot.

rlafuente avatar rlafuente commented on July 24, 2024 1

ok i added apt.txt and postBuild (to install the shoebot kernel into Jupyter) and the binder notebook is actually running!

however the shoebot kernel does not launch -- it's stuck at "Kernel starting, please wait..." and then disconnects from the server (the kernel runs fine in a local install)

there is one notebook that doesn't use the kernel (shoebot-as-python-module) which might be able to help pinpoint the cause. I'm stuck with this error on the line import shoebot:

/srv/conda/envs/notebook/lib/python3.7/site-packages/shoebot/core/__init__.py in <module>
     36 """
     37 
---> 38 from canvas import Canvas
     39 from cairo_canvas import CairoCanvas
     40 

ModuleNotFoundError: No module named 'canvas'

Also, when running that example locally, I get:

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-55561089cd27> in <module>
      2 
      3 import shoebot
----> 4 import cairocffi as cairo
      5 from io import BytesIO
      6 from IPython.display import Image, SVG, display

ModuleNotFoundError: No module named 'cairocffi'

...which means that locally it can import shoebot but fails on cairocffi.

I'm a bit tired to go on for today. In any case, the problem might be that we're hitting binder's memory limits -- let's hope not :/

from jupyter-shoebot.

stuaxo avatar stuaxo commented on July 24, 2024 1

Done :)

from jupyter-shoebot.

villares avatar villares commented on July 24, 2024

Try this:

https://github.com/shoebot/jupyter-shoebot

Yeah, I saw this, but I could't make it work at http://myBinder.org, I don't know the incantations to set the environment!
I created the issue exactly because I saw this and thought it must be possible to do it.

image

from jupyter-shoebot.

rlafuente avatar rlafuente commented on July 24, 2024

I went through the Binder docs and think that the way to install the missing dependencies is through the apt.txt file. Trying it out now

from jupyter-shoebot.

rlafuente avatar rlafuente commented on July 24, 2024

Jeez just found out that Stuart did all this in this PR

I'll try it tonight, but wondering how it's working for you @stuaxo ?

from jupyter-shoebot.

stuaxo avatar stuaxo commented on July 24, 2024

Try the PR, for now it pulls in shoebot from GitHub.

Some bits get an exception in drawqueue but that's more that some changes in shoebot are needed.

from jupyter-shoebot.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.