linux pip3 安装包时出现WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
网上看了好多都说缺少openssl-devel包,需要重新编译安装python好麻烦。
我偶然间发现 在执行pip3 install xxx
的时候,在前面加上sudo
也可以解决这个问题,在此记录一下。
linux pip3 安装包时出现WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
网上看了好多都说缺少openssl-devel包,需要重新编译安装python好麻烦。
我偶然间发现 在执行pip3 install xxx
的时候,在前面加上sudo
也可以解决这个问题,在此记录一下。