Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
5
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

@bohemian916

macでdlibのインストールのメモ

boostのインストール

参考

sudo brew install boost
sudo brew install boost-python 

ski-image

sudo pip install scikit-image

dlibインストール

sudo pip install dlib

dlib実行時のエラー

50071 FATAL [1] dlib.gui_core: Unable to connect to the X display.
Traceback (most recent call last):
  File "./gen_detecter.py", line 81, in <module>
    win_det = dlib.image_window()
RuntimeError: Failed to initialize X11 resources

こちらによれば、XQuartzを入れる必要がありそう。
こちらの方法で入れたら、エラーが消えた

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
5
Help us understand the problem. What are the problem?