LoginSignup
0
0

More than 1 year has passed since last update.

MacにDeeplabcutがインストールできない。

Last updated at Posted at 2022-09-22

環境

macOS Monterey
pyenv
virtualenv
wxPython 4.0.7
Deeplabcut 2.2.2

エラー

当然公式ドキュメントに従ってコマンドを実行する。

で、

This program needs access to the screen. Please run with a
Framework build of python, and only when you are logged in
on the main display of your Mac.

これ。
何やってもこれ。

原因

wxPythonはframework buildのPythonが必要らしい。
当然CUIのDeeplabcutも試した。でもラベリングするのにGUIの環境が必要。
つまり、どう足掻いてもwxPythonと向き合わないといけない。

解決

正直色々やって何が正解かわからないが

$ conda install anaconda

を実行してpythonwを使えるようにした。
今のところ起動だけ成功してラベリングはしていないので、正常に動作しているかわからない。

起動

$ pythonw -m deeplabcut

よくわからんが、まぁ動いているからヨシ!

参考にさせてもらった記事

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