0
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 3 years have passed since last update.

wxPythonのインストール(M1 Mac book Air)

Last updated at Posted at 2021-12-14

M1 MacBookAirでwxPythonがインストールできない。

  • まず初めにできていないこと

  • wxPythonがインストール
     →tiff.hが見つからない旨のエラーメッセージ(libtifはbrew listで確認済み)

  • 環境

  • python3.8.9(仮想環境)

  • pip21.3.1

  • VScodeでターミナル実行(zsh)

結論

  • 実行アプリケーションが何で起動しているかの問題だった。
  • VScodeは初期値で「arm64(Appleシリコン)」なのでRosettaに切り替える
  • RosettaもしくはIntel互換で起動するコマンドは以下
arch -x86_64 zsh
  • 一応Appleシリコンに切り替え
xarch -arm64 zsh
まだまだARM64で上手くできるものは少ないようだ…基本Rosetta使うべきか検討
0
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
0
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?