end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

pip.pyz for python による pip 実行

proxy配下にあるwindows環境で、embeddable python (portable版 python) に対し、 get-pip.py により、pip コマンドの install を試みたところ、以下のエラー。

( get-pip.py に対しては --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org オプションも使用できず )

DOS> python3.11\python.exe get-pip.py
ERROR: Could not install packages due to an OSError:
Could not find a suitable TLS CA certificate bundle, invalid path: False

https://pip.pypa.io/en/stable/installation/ を見たところ pip.pyz という実行形式のpip コマンドを発見。 次のように問題なく pip インストールできました。

DOS> python3.11\python.exe pip.pyz install \
   --trusted-host pypi.python.org --trusted-host files.pythonhosted.org \
   --trusted-host pypi.org \
   sentence_transformers