python pip安装时error

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
 
 
mkdir -p ~/.pip
vim ~/.pip/pip.conf
 
输入内容:
  [global]
  index-url = http://mirrors.aliyun.com/pypi/simple/
  [install]
  trusted-host = mirrors.aliyun.com
posted @ 2023-03-21 11:31  learn_to_death  阅读(19)  评论(0)    收藏  举报