Comments (7)
Try this:
https://github.com/shoebot/jupyter-shoebot
from jupyter-shoebot.
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.
Done :)
from jupyter-shoebot.
Try this:
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.
from jupyter-shoebot.
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.
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.
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)
- Add clearer tracebacks HOT 1
- Setup doesn't work HOT 9
- Change cairocffi imports for cairo HOT 2
- jupyter kernelspec install shoebot_kernel --sys-prefix did not work for me HOT 2
- Doesn't work in binder
- Can binder open with example ?
- Add notebook screenshot to README
- Fill out stubs in the kernel headers
- Apply syntax highlighting and Python indenting to code snippets
- Add Shoebot icon
- Register the package on pip HOT 2
- Use Jupyter widgets to implement live vars HOT 1
- Notebooks only work if placed on the repository root HOT 1
- Stdout isn't shown in the output console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-shoebot.