teratail header banner
teratail header banner
質問するログイン新規登録
Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

Q&A

解決済

1回答

518閲覧

jupyter notebookがインストールされません

menaha

総合スコア1

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

0グッド

0クリップ

投稿2024/05/15 03:16

0

0

実現したいこと

jupyter notebookのインストール
※アナコンダと一緒ではなくjupyter notebook単体でインストールです

発生している問題・分からないこと

現在使ってるパソコンにjupyter notebookをインストールしようとしてますが
インストールした後もアイコンが表示されなかったりされたとしても
アイコンを押しても起動しなかったりと全くうまくいっていません

該当のソースコード

特になし

試したこと・調べたこと

  • teratailやGoogle等で検索した
  • ソースコードを自分なりに変更した
  • 知人に聞いた
  • その他
上記の詳細・結果

なので一旦pythonを含めて全部削除して再度やり直してみました

pythonの3.12を新たにインストールした後、コマンドプロンプトを使ったのですがアイコンは出てきません
何がいけないのか教えていただけないでしょうか
ちなみにコマンドプロンプトでjupyter notebookと入力した後に出てきた内容は下記になります

C:\Users\ユーザー>jupyter notebook
[I 2024-05-15 12:06:41.039 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-05-15 12:06:41.048 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-05-15 12:06:41.057 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-05-15 12:06:41.066 ServerApp] notebook | extension was successfully linked.
[I 2024-05-15 12:06:41.918 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-05-15 12:06:41.984 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-05-15 12:06:41.987 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-05-15 12:06:41.989 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-05-15 12:06:41.994 LabApp] JupyterLab extension loaded from C:\Users\ユーザー\AppData\Local\Programs\Python\Python312\Lib\site-packages\jupyterlab
[I 2024-05-15 12:06:41.995 LabApp] JupyterLab application directory is C:\Users\ユーザー\AppData\Local\Programs\Python\Python312\share\jupyter\lab
[I 2024-05-15 12:06:41.996 LabApp] Extension Manager is 'pypi'.
[I 2024-05-15 12:06:42.683 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-05-15 12:06:42.689 ServerApp] notebook | extension was successfully loaded.
[I 2024-05-15 12:06:42.690 ServerApp] Serving notebooks from local directory: C:\Users\ユーザー
[I 2024-05-15 12:06:42.692 ServerApp] Jupyter Server 2.14.0 is running at:
[I 2024-05-15 12:06:42.692 ServerApp] http://localhost:8888/tree?token=2d58c36f5ef4e6342e33ce42c4e9ce52fbe29e215c0c7a6e
[I 2024-05-15 12:06:42.692 ServerApp] http://127.0.0.1:8888/tree?token=2d58c36f5ef4e6342e33ce42c4e9ce52fbe29e215c0c7a6e
[I 2024-05-15 12:06:42.692 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2024-05-15 12:06:42.775 ServerApp]

To access the server, open this file in a browser: file:///C:/Users/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/AppData/Roaming/jupyter/runtime/jpserver-1916-open.html Or copy and paste one of these URLs: http://localhost:8888/tree?token=2d58c36f5ef4e6342e33ce42c4e9ce52fbe29e215c0c7a6e http://127.0.0.1:8888/tree?token=2d58c36f5ef4e6342e33ce42c4e9ce52fbe29e215c0c7a6e

[I 2024-05-15 12:06:42.951 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server

補足

特になし

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

To access the server, open this file in a browser:
file:///C:/Users/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC/AppData/Roaming/jupyter/runtime/jpserver-1916-open.html
Or copy and paste one of these URLs:
http://localhost:8888/tree?token=2d58c36f5ef4e6342e33ce42c4e9ce52fbe29e215c0c7a6e
http://127.0.0.1:8888/tree?token=2d58c36f5ef4e6342e33ce42c4e9ce52fbe29e215c0c7a6e

これはエラーではなく、そのファイルやURLにアクセスしろという意味です。
ブラウザで http://localhost:8888/tree?token=2d58c36f5ef4e6342e33ce42c4e9ce52fbe29e215c0c7a6e にアクセスすれば開けると思いますが、どうですか?

投稿2024/05/15 03:22

fiveHundred

総合スコア10454

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

menaha

2024/05/15 04:01

回答ありがとうございます。 仰られた通りブラウザを開いてurlを入力すれば開く事が出来ました ちなみにもし分かればでよろしいのですが 普通のアイコンの様な物を表示させてそれをクリックすればjupyter notebookが開かせるというのはどうやればいいか分かりますでしょうか?
fiveHundred

2024/05/15 04:11

jupyter notebook と書かれたbatファイルを用意すれば出来ると思います。
menaha

2024/05/15 04:17

ちょっと難しそうなので、今の状態で使っていこうと思います 回答ありがとうございました。助かりました
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.30%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問