解决ipython安装中出现的几个错误

  • pip is configured with locations that require TLS/SSL
  • Could not fetch URL https://pypi.org/simple/pip/

解决pip is configured with locations that require TLS/SSL

如果安装过python3,但是没有添加 --with-openssl=/usr/local/openssl

#安装openssl
yum install -y openssl-devel  
 
#重装python,如果已经make过了,就先make clear清理一下
./configure --prefix=/usr/local/python3 --with-openssl=/usr/local/openssl			
 
#重新编译安装
make && make install		

#安装ipython
pip3 install ipyton

解决Could not fetch URL https://pypi.org/simple/pip/

1.问题
解决ipython安装中出现的几个错误_第1张图片
2.解决
解决ipython安装中出现的几个错误_第2张图片
pip.conf
解决ipython安装中出现的几个错误_第3张图片

你可能感兴趣的:(Python,python)