damp-evening-18623
03/05/2018, 4:52 PMBUILD file:
python_binary(name='notebook-test',
entry_point='notebook.notebookapp:main',
dependencies=[
'3rdparty/python:jupyter'
'3rdparty/python:ipykernel'
],
Then, I run ./pants binary notebook-test which succeeds, and then ./dist/notebook-test which also succeeds in starting up the Jupyter notebook server, but then I run into the following problems with someting called `ipython_kernel`:
[I 17:41:04.216 NotebookApp] Serving notebooks from local directory: /xxx
[I 17:41:04.216 NotebookApp] 0 active kernels
[I 17:41:04.216 NotebookApp] The Jupyter Notebook is running at:
[I 17:41:04.216 NotebookApp] <http://localhost:8888/?token=xxx>
[I 17:41:04.216 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 17:41:04.217 NotebookApp] Copy/paste this URL into your browser when you connect for the first time, to login with a token: <http://localhost:8888/?token=xxx>
[I 17:41:04.628 NotebookApp] Accepting one-time-token-authenticated connection from ::1
[W 17:41:11.348 NotebookApp] Notebook notebook-test/running_code.ipynb is not trusted
[I 17:41:12.227 NotebookApp] Kernel started: xxx /usr/bin/python2.7: No module named ipykernel_launcher
[W 17:41:12.257 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20180305174104 (::1) 9.93ms referer=<http://localhost:8888/notebooks/notebook-test/running_code.ipynb>
[I 17:41:15.226 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports /usr/bin/python2.7: No module named ipykernel_launcher