0
0

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.

pyenvでWorking with Matplotlib on OSXのバックエンド問題を解決

0
Posted at

pyenvを構築してmatplotlibを使おうとしたら、このpythonはMacOSでframeworkとしてインストールされていません、みたいなものエラーが出てきた。
ググって、良い対策法見つかった

一行で解決してみた


PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install x.x.x

補足

詳しくは:
x.x.x のところに3.7.1のようにバージョン指定して、インストールすれば、インストールされたpythonがframeworkビルドになります

参照

matplotlib2.2.3んのドキュメント
最新の3.0.2のドキュメントではpyenvの対策を書いていません

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?