Created
November 15, 2019 06:20
-
-
Save tuxedocat/1ec2f2f0f2256e928fb8f373eaa90455 to your computer and use it in GitHub Desktop.
setup script taken from https://plot.ly/python/getting-started/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Avoid "JavaScript heap out of memory" errors during extension installation | |
# (OS X/Linux) | |
export NODE_OPTIONS=--max-old-space-size=4096 | |
# Jupyter widgets extension | |
jupyter labextension install @jupyter-widgets/[email protected] --no-build | |
# jupyterlab renderer support | |
jupyter labextension install [email protected] --no-build | |
# FigureWidget support | |
jupyter labextension install [email protected] --no-build | |
# Build extensions (must be done to activate extensions since --no-build is used above) | |
jupyter lab build | |
# Unset NODE_OPTIONS environment variable | |
# (OS X/Linux) | |
unset NODE_OPTIONS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment