Skip to content

Instantly share code, notes, and snippets.

@Kevintso
Last active December 25, 2017 23:17
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 Kevintso/0deee59bffec4e5903ab32de7e82978f to your computer and use it in GitHub Desktop.
Save Kevintso/0deee59bffec4e5903ab32de7e82978f to your computer and use it in GitHub Desktop.
/home/ubuntu/.jupyter/jupyter_notebook_config.py
import os
c = get_config()
os.environ['LD_LIBRARY_PATH'] = '/usr/local/cuda-8.0/lib64:usr/local/cuda-8.0/lib64/libcudart.so.8.0'
c.Spawner.env.update('LD_LIBRARY_PATH')
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.password = u'sha1:518749bbebf8:d99de5f67392afbcd6c82bcaa343eda7cde62d56'
c.NotebookApp.port = 8889
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment