当前位置:网站首页>Error when using PIP: pip is configured with locations that requires tls/ssl
Error when using PIP: pip is configured with locations that requires tls/ssl
2022-07-24 07:37:00 【Huang Sibo】
Compilation and installation completed python3.10 after ,pip Out of commission !
There is an error :
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not ...
The online article said in configure Add to this step --with openssl:
./configure --prefix=/usr/local/python3 --with-openssl=/usr/bin/opensslBut the problem is not solved , use yum updated openssl Not good either. , To compile python3.10 Still report an error .
Problem solving :
download openssl package , reinstall openssl:
# download openssl package :
wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_1d.tar.gz
# decompression :
tar -xvf OpenSSL_1_1_1d.tar.gz -C .
# Compilation and installation :
cd OpenSSL_1_1_1d
.confiugre --prefix=/usr/local/openssl && make && make install
During installation , For a little longer .
open /usr/local/bin/openssl Report a mistake again :
openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
Problem solving :
View the installed openssl Of lib Is there any of the following library files in the folder :libcrypto.so.11 and libssl.so.1.1

Establish a soft connection for it :
Open again /usr/local/openssl/bin/openssl , Successful entry !

Compare the old version with the new version openssl Version number of :

For the old version openssl Save or delete
Reinstall compilation python3.10
# Download source package :
wget https://www.python.org/ftp/python/3.10.4/Python-3.10.4.tgz
# decompression :
tar -xvf P*
# Compilation and installation :
cd P*4
configure --prefix=/usr/local/python3.10 --with-openssl=/usr/local/openssl
make && make installto update pip3.10

Delete source code package , You can also save
# Delete openssl Source package :
rm -Rf O*
rm -Rf o*
# Delete Python Source package :
rm -Rf P*边栏推荐
- FlinkSQL-UDF自定义数据源
- Mitre att & CK ultra detailed learning notes-01 (background, terms, cases)
- 服务漏洞&FTP&RDP&SSH&rsync
- PHP escape string
- From the perspective of CIA, common network attacks (blasting, PE, traffic attacks)
- Vulnhub DC1
- php链路日志方案
- Introduction to C language v First understanding pointer VI. first understanding structure
- Feature Selective Anchor-Free Module for Single-Shot Object Detection
- Harbor2.2 用户角色权限速查
猜你喜欢

php链路日志方案

Jackson parsing JSON detailed tutorial

JS_实现多行文本根据换行分隔成数组
![[sklearn] RF cross validation out of bag data parameter learning curve grid search](/img/1f/936e4fe42ed97de2c3caa3f025744d.png)
[sklearn] RF cross validation out of bag data parameter learning curve grid search

MITRE ATT&CK超详细学习笔记-02(大量案例)

cloud的版本升级

Who can stand it when the project goes online

C language advanced part III. string functions and memory operation functions

服务漏洞&FTP&RDP&SSH&rsync
![[FreeRTOS] 11 software timer](/img/d8/a367c26b51d9dbaf53bf4fe2a13917.png)
[FreeRTOS] 11 software timer
随机推荐
Jenkins 详细部署
Sword finger offer special assault edition day 8
Jenkins detailed deployment
Introduction to C language II. Functions
Sense dimension design responsive layout
nacos配置中心源码分析
numpy.concatenate
stdafx. H introduction and function
Buffer overflow vulnerability of network security module B in national vocational college skills competition
FPGA realizes reading and writing of axi4 bus
Reptile learning - Overview
C language advanced part VII. Program compilation and preprocessing
Deep analysis of data storage in memory
Influxdb unauthorized access & CouchDB permission bypass
Introduction to C language I. branch and loop statements
[cloud native] MySQL index analysis and query optimization
Simple installation of sqli Labs
25.消息订阅与发布——PubSub-js
Kali安装pip以及pip换源
FlinkSQL-UDF自定义数据源