2
1

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でモジュールがインストール出来ない時の解決法

2
Last updated at Posted at 2018-11-02

環境

・MacOS High Sirra
・anaconda
・python3

モジュールのインストールが出来ない理由と解決法

私がjupyterを使って、モジュールがインストール出来なかったのには大きく分けて3つ理由があった。以下の3つを確認してもらえれば、きっとインストールがうまくいくと思う。

①pipを使っている

 「pip」ではなく「pip3」を使うとエラーが解消される場合がある

②$pipを使っている

 「$」pipではなく「!」pipにする

③pipのバージョンが更新されていない

図1.png

このように怒られたら、pipのバージョンが更新されていない証拠である
以下のコードをコピペして、pipのバージョンを最新にしよう

! pip3 install --upgrade setuptools
! pip3 install --upgrade pip

以上が確認できれば大丈夫だ!
今日も一日楽しく頑張ろう:relaxed:

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?