I can't get widgets to work in python2 kernels in images built by repo2docker
See original GitHub issueThis repository:
https://github.com/simonsfoundation/jp_svg_canvas
attempts to use an environment.yml
to set up a python 2 kernel with widgets enabled.
The image built by repo2docker results in a python 3 kernel with working widgets but widgets do not work in the python 2 kernel
I also tried other ways to get widgets working under repo2docker in Python 2 kernels, but I’m not having any luck 😦.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
In a Python 2 repository `python` gives you Python 3 · Issue #698 ...
Bug description In a repo with Python 2 selected via a runtime.txt the command python launches Python 3. Expected behaviour python should launch...
Read more >jupyterhub/binder - Gitter
it's logged to the terminal, but you can't get at that. ... What about build logs? ... @minrk in PANGEO, I'm trying to...
Read more >Using repo2docker - Read the Docs
Builds a Docker image with an environment specified in these configuration files. Launches the image to let you explore the repository interactively via...
Read more >Customizing User Environment
To get started customizing the user environment, see the topics below. Choose and use an existing Docker image#. Project Jupyter maintains the jupyter/docker- ......
Read more >Juniper-js NPM | npm.io
To add interactive code widgets to your site, you'll need a GitHub ... you can build a Docker image on Binder, which will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
problem has gone away
Tried to make a minimal example for this to reproduce the bug. So I made this repo which contains nothing but a
runtime.txt
with python-2.7 in it. When I launch a binder the only kernel available is Python 3. Discuss this: #280)If you then add a
requirements.txt
you do get a Python 2 kernel. For this repo I addedipywidgets
inrequirements.txt
.I then added a
Button
widget in a notebook, which seems to work.Same with an
environment.yml
instead ofruntime.txt
+requirements.txt
: https://github.com/betatim/binder-widgets-py2/tree/f7a3e3fdb962a5ec317efdbec92676fdc96c9a0d this also seems to work.From my side this means “can’t reproduce any more” -> got fixed. @AaronWatters could you confirm that the problem has gone away?