sudo apt-get install openssl
sudo apt-get install libssl-dev
查阅资料发现,在./configure过程中,如果没有加上–with-ssl参数时,默认安装的软件涉及到ssl的功能不可用,刚好pip3过程需要ssl模块,而由于没有指定,所以该功能不可用。
解决办法是重新对python3.6进行编译安装,用一下过程来实现编译安装:
cd Python-3.6.5
./configure --with-ssl
make
sudo make install
再次安装问题解决
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)