0
0

【2024年6月】dlibのインストール方法

Last updated at Posted at 2024-06-17

経緯

dlibのインストールに苦労したので最終的にうまく行った方法をメモしました

うまくいかなかった方法

cmakeというプラットフォームをインストールする方法。(2024年現在、dlibのバージョンとうまくあわないらしい、、)

うまくいった方法

1. VScode内のターミナルからpythonのバージョン確認

スクリーンショット 2024-06-17 133719.png
3.9.13だった

2. githubリポジトリからdlibをインストール

以下のレポジトリからPython 3.9用のファイルである【dlib-19.22.99-cp39-cp39-win_amd64.whl】をダウンロード

3. VScode内のターミナルで以下を実行

dlib-19.22.99-cp39-cp39-win_amd64.whlをダウンロードしたディレクトリに移動してから以下を実行

 pip install dlib-19.22.99-cp39-cp39-win_amd64.whl
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