pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

はじめに Introduction

macでpip installを行った際、以下のようなエラーが出てinstallができなかった。

When pip install was performed on mac, the following error occurred and installation failed.

 

原因 Cause of the problem

SSL通信ができない?

Can’t SSL communication?

対処 countermeasure

admin権限を持つアカウントで同様のコマンドを実行したところ、無事インストールができた。 おそらく権限周りの問題が根幹にあるようだ。

When I executed the same command with an account with admin privileges, the installation was successful. Perhaps there is a problem around authority.