質問をすることでしか得られない、回答やアドバイスがある。

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

新規登録して質問してみよう
ただいま回答率
85.48%
Jupyter

Jupyter (旧IPython notebook)は、Notebook形式でドキュメント作成し、プログラムの記述・実行、その実行結果を記録するツールです。メモの作成や保存、共有、確認などもブラウザ上で行うことができます。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

Q&A

解決済

1回答

3651閲覧

【M1 MAC】HomebrewでJupyterLabをインストールしたい

shishi_maru440

総合スコア38

Jupyter

Jupyter (旧IPython notebook)は、Notebook形式でドキュメント作成し、プログラムの記述・実行、その実行結果を記録するツールです。メモの作成や保存、共有、確認などもブラウザ上で行うことができます。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

0グッド

0クリップ

投稿2021/05/29 11:08

前提・実現したいこと

ここに質問の内容を詳しく書いてください。
M1 MACを購入しpythonの開発環境構築を進めています。
Homebrewを用いてJupyterLabをインストールしたいのですが
うまくいきません。(Rosseta2は使わずに構築したい)
そもそもjupyterlabはM1 Macにまだ対応していないのでしょうか?

発生している問題・エラーメッセージ

Error: ghc: no bottle available! You can try to install from source with: brew install --build-from-source ghc Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels.

該当のソースコード

terminal

1440h@440noMacBook-Air ~ % brew install --build-from-source jupyterlab 2==> Auto-updated Homebrew! 3Updated 1 tap (homebrew/core). 4==> Updated Formulae 5Updated 2 formulae.
==> Downloading https://ghcr.io/v2/homebrew/core/libsodium/manifests/1.0.18_1 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/d14e811d4b4dc5be4758836da0008ea37879d7a8f7d353829decd14f70a20dec--libsodium-1.0.18_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libsodium/blobs/sha256:ab7029c5 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/d618addaeda7e770a6cb4c55c6dafbbc155dea6e94a83696c898fd437f6d5f05--libsodium--1.0.18_1.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/zeromq/manifests/4.3.4 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/975d2a6327948963304440b55f96a7ba9a9a77d67c94009aa3b737508a6ac53d--zeromq-4.3.4.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/zeromq/blobs/sha256:eb0ee61f9c1 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/cb3f3b44389ea88048590e1cf494f446341be53ca7dc1822c38122554c67c533--zeromq--4.3.4.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/ipython/manifests/7.24.0 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/0b9bb7f7be10e7f1f3afdeeb65618da53e1f431fb728992e29c8dfed344f3680--ipython-7.24.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/ipython/blobs/sha256:e54768bff2 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/d9c37214cabd9cb92e23ce3837773790561264227ae98d174143d54ba8b368ce--ipython--7.24.0.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/brotli/manifests/1.0.9 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/922ce7b351cec833f9bd2641f27d8ac011005f8b1f7e1119b8271cfb4c0d3cd7--brotli-1.0.9.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/brotli/blobs/sha256:bcd00b6f423 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/b60fdadc7abd7fc2b4e5fd58f555f783357db3f530bc361b86c0f29efd3ad27d--brotli--1.0.9.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/c-ares/manifests/1.17.1 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/bfedbfb173cf42e0096f56b52f16959d8781ea8272ce8a23e9389db7a0fb750b--c-ares-1.17.1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/c-ares/blobs/sha256:63627c4d2e4 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/e31d494de119cbfbf43ac43abc549a7bbcb6d08f4b65b05e08f0f0a75db69029--c-ares--1.17.1.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/manifests/69.1 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/319330d53dab436f7e6bbe478539f29d41abb6be79788b06615f28006a82b30c--icu4c-69.1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/blobs/sha256:25a1ec460d42 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/ccf6b67f22944e4ef3d02f6108f71d827eb5193bfeb2a23b10a3471f43e79874--icu4c--69.1.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/libuv/manifests/1.41.0 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/399b39fa778414eed23b02399bf6230322d2e035cbbfab23a14c5ed5c1f8350d--libuv-1.41.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libuv/blobs/sha256:25ba3f6a09c7 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/6dc77d93c27209a5c438ced5e8c83b15f2c7e0585a6c2eb8f9e1b6b41ae55630--libuv--1.41.0.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/jemalloc/manifests/5.2.1_1 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/a8e64cca0eade3cf7d326aa9c46f84455dd632abc04c23827e9ec6dec70fa736--jemalloc-5.2.1_1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/jemalloc/blobs/sha256:724ab5947 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/30cd83b5e8b56232915115f16e03914150575e62b54d7f9bb289f0614b2f0f5f--jemalloc--5.2.1_1.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/libev/manifests/4.33 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/dcc77a4ef78cc646caf5e0675f4121c18ac6fbbb84ddb181eaab408546c41b66--libev-4.33.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libev/blobs/sha256:8ed86bdd0ff3 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/2c60c6841f32554b9f670c3d29b194c6398e58d2b4880e4137f34585b19b0e78--libev--4.33.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/nghttp2/manifests/1.43.0 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/1c3535378c8eec4d6223ea7c073c5ba741538c6c90c9ae4670faca3114a265ec--nghttp2-1.43.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/nghttp2/blobs/sha256:e927b6ac25 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/6352970c3e57dd3f3854aa8c3d4db04e7ebc422e24315d3467cb79d2637d6690--nghttp2--1.43.0.arm64_big_sur.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/node/manifests/16.2.0 Already downloaded: /Users/440h/Library/Caches/Homebrew/downloads/153410150161cf5545bafbe7bbe8973432cb2d914ae17becb50e7a60d842c87c--node-16.2.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/node/blobs/sha256:0eb606fccff4a Already downloaded:

##エラー

/Users/440h/Library/Caches/Homebrew/downloads/ed79e8bc506a30e16ac3bffae7d1544023a91a4da4160d92af6e8b919db15580--node--16.2.0.arm64_big_sur.bottle.tar.gz Error: ghc: no bottle available! You can try to install from source with: brew install --build-from-source ghc Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels. 440h@440noMacBook-Air ~ %

試したこと

brew install --build-from-source ghc
を実行後もう一度brew install --build-from-source jupyterlab
を実施し、jupyterと入力してもcommand not foundになり開くことが
できませんでした。

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

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

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

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

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

guest

回答1

0

ベストアンサー

homebrew上のjupyterlabはM1にまだ対応していないようです。

対応状況が以下のページから確認できるようになっています。
https://github.com/Homebrew/brew/issues/7857

jupyterlabならhomebrewを使わなくてもpip3でインストールできるのでは。

成功例:
https://degitalization.hatenablog.jp/entry/2020/12/07/154628

投稿2021/05/29 11:54

編集2021/05/29 11:55
hope_mucci

総合スコア4447

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

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

shishi_maru440

2021/05/29 13:22

アドバイスありがとうございます。 homebrewで統一したかったのですが やはりまだ対応していなかったですか。 pip3でインストールすることができました。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問