プログラミング/julia のバックアップ(No.1)

更新


公開メモ

噂の julia を入れてみる?

jupyter も入れる

http://jupyter.org/install.html を見ながら

LANG:console
$ python3 -m pip install --upgrade pip
 /usr/bin/python3: No module named pip
$ sudo apt-get install python3-pip
 以下の追加パッケージがインストールされます:
   libpython3-dev libpython3.4 libpython3.4-dev python3-colorama python3-dev 
   python3-distlib python3-html5lib python3-requests python3-setuptools python3-urllib3
   python3-wheel python3.4-dev
 提案パッケージ:
   python3-genshi python3-lxml python3-ndg-httpsclient python3-openssl python3-pyasn1
 以下のパッケージが新たにインストールされます:
   libpython3-dev libpython3.4 libpython3.4-dev python3-colorama python3-dev python3-distlib 
   python3-html5lib python3-pip python3-requests python3-setuptools
   python3-urllib3 python3-wheel python3.4-dev
 アップグレード: 0 個、新規インストール: 13 個、削除: 0 個、保留: 2 個。
 42.0 MB のアーカイブを取得する必要があります。
 この操作後に追加で 62.8 MB のディスク容量が消費されます。
$ sudo python3 -m pip install --upgrade pip
 Downloading/unpacking pip from https://pypi.python.org/packages/ac/95/a05b56bb975efa78d3557efa36acaf9cf5d2fd0ee0062060493687432e03/pip-9.0.3-py2.py3-none-any.whl#md5=d512ceb964f38ba31addb8142bc657cb
   Downloading pip-9.0.3-py2.py3-none-any.whl (1.4MB): 1.4MB downloaded
 Installing collected packages: pip
   Found existing installation: pip 1.5.6
     Not uninstalling pip at /usr/lib/python3/dist-packages, owned by OS
 Successfully installed pip
 Cleaning up...
$ python3 -m pip --version
 pip 9.0.3 from /usr/local/lib/python3.4/dist-packages (python 3.4)
$ python3 -m pip install jupyter
$ jupyter notebook
 [I 16:57:56.316 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
 Traceback (most recent call last):
   File "/usr/local/bin/jupyter-notebook", line 11, in <module>
     sys.exit(main())
   File "/usr/local/lib/python3.4/dist-packages/jupyter_core/application.py", line 266, in launch_instance
     return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
   File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 657, in launch_instance
     app.initialize(argv)
   File "<decorator-gen-7>", line 2, in initialize
   File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 87, in catch_config_error
     return method(app, *args, **kwargs)
   File "/usr/local/lib/python3.4/dist-packages/notebook/notebookapp.py", line 1507, in initialize
     self.init_webapp()
   File "/usr/local/lib/python3.4/dist-packages/notebook/notebookapp.py", line 1297, in init_webapp
     self.http_server.listen(port, self.ip)
   File "/usr/local/lib/python3.4/dist-packages/tornado/tcpserver.py", line 144, in listen
     sockets = bind_sockets(port, address=address)
   File "/usr/local/lib/python3.4/dist-packages/tornado/netutil.py", line 163, in bind_sockets
     sock.bind(sockaddr)
 OSError: [Errno 99] Cannot assign requested address
$ jupyter notebook --ip=127.0.0.1

Counter: 5217 (from 2010/06/03), today: 1, yesterday: 0