4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Jupyterインストールエラー

Last updated at Posted at 2016-02-20

tl;dr

はてぶエントリ見て、Jupyterを触りたくなった。
http://myenigma.hatenablog.com/entry/2016/02/20/183423?utm_source=dlvr.it&utm_medium=twitter

環境

MacOSX El Capitan‎
Python2.7

エラー内容

Jupyterインストールしようとしたらエラー発生。

pip install jupyter


Installing collected packages: setuptools, gnureadline, appnope, ptyprocess, pexpect, ipython, ipykernel, notebook, ipywidgets, jupyter-console, qtconsole, jupyter
  Found existing installation: setuptools 18.4
Cannot remove entries from nonexistent file /anaconda/lib/python2.7/site-packages/easy-install.pth

対処法

以前入れておいたAnaconda付随のsetuptoolsが古いのが原因とのこと。
https://github.com/ContinuumIO/anaconda-issues/issues/542

conda update setuptools

再度実行したら、インストールできた様子。

pip install jupyter

試しに起動。

ipython notebook

するとデフォルトブラウザで下記URLタブが開かれて、Jupyter触れるようになりました。
http://localhost:8888/tree

停止時はターミナルで、Control-Cキーする。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?