Skip to content

Instantly share code, notes, and snippets.

@isuruf
Forked from bollwyvl/README.md
Last active July 30, 2020 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isuruf/8130c792a082bc131994765693a7f04d to your computer and use it in GitHub Desktop.
Save isuruf/8130c792a082bc131994765693a7f04d to your computer and use it in GitHub Desktop.
Using pypy on binder

on

Binder

Thanks to the toil of the folks at conda-forge, you can try out PyPy, a fast alternative Python implementation.

Not everything is available yet, but the bot just keeps on migrating: there's still lots to do, so stay tuned!

name: _mamba
channels:
- conda-forge
- nodefaults
dependencies:
- mamba
- pybind11
name: pypy-notebook
channels:
- conda-forge
- nodefaults
dependencies:
- ipywidgets
- jupyterlab >=2.2.0,<3.0.0a0
- matplotlib-base
- nodejs
- notebook
- numpy
- pandas
- pypy
#!/usr/bin/env bash
source activate
set -eux
time conda install pypy -p ${NB_PYTHON_PREFIX}
time jupyter labextension install --no-build @jupyter-widgets/jupyterlab-manager
time jupyter lab build --dev-build=False --minimize=True
time jupyter lab clean
time jlpm cache clean
time conda clean -yaf
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment