私は現在pythonにてMediapipeのposeを試してみようと思っています。
コマンドプロンプトにてpip install mediapipe を実行したのですが、
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found for mediapipe
と表示されてしまいます。
どのようにすればmediapipeをダウンロードできますでしょうか。
【ほかに試したこと】
他の方がteratailで質問し、解決に至ったpy -3.8 -m pip install mediapipeを入れたところ、
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. rror("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/mediapipe/ Could not fetch URL https://pypi.org/simple/mediapipe/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/mediapipe/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
とエラーを返されてしまいます。
【開発環境】
python 3.6.8 32bit
pip 21.3.1
anaconda3 2020.02(python 3.8.3 64bit)も併用しています。
windows11
https://pypi.org/project/mediapipe/#files
には
> python 3.8.3 64bit
windows
用の(ファイル名に「cp38-cp38-win_amd64」が付いてる)はあるので、それに紐付いたpipを使えば
> Could not find a version that satisfies the requirement mediapipe (from versions: none)
とはならないと思います
ご返答ありがとうございます。
amd64ということは64bitのpythonで動作するという解釈なのですが、この解釈ですと32bitのpythonに動作するwhlファイルはないため、そもそも32bitのpythonでは動作させられないということでしょうか。
よろしくお願いいたします。
> amd64ということは64bitのpythonで動作する
そうです
> 32bitのpythonに動作するwhlファイルはない
https://pypi.org/
には無いようです
> 32bitのpythonでは動作させられない
https://google.github.io/mediapipe/getting_started/install.html#installing-on-windows
の「Installing on Windows」に書かれてる手順でビルドしたら、もしかしたら動くかも
mediapipeのトラブルシューティングにて、64bitのpythonでないと動作しないことを確認しました。
(https://google.github.io/mediapipe/getting_started/troubleshooting.html)
jbpb0様、対応してくださりありがとうございました。
https://google.github.io/mediapipe/getting_started/troubleshooting.html#python-pip-install-failure
の「Python pip install failure」に「MediaPipe Python PyPI officially supports the 64-bit version...」とあるのは、
https://pypi.org/
には64bit用のしか置いてないよ、っていう意味で、私の一つ前のコメントに書いたのと同じことです
そのことと、絶対に32bit用pythonで動かせないか、は別のことです
それも、私の一つ前のコメントに書きました
どうしても32bit用pythonで動かさないといけない、という理由が無いなら、素直に64bit用pythonで動かす方がいいと思いますけど