---
title: 青松服务器Kylin V10 sp1操作系统，源码方式安装完Python-3.9.2后，pip3工具无法使用-昇腾社区
description: 执行过程中出现如下提示。
keywords: 青松服务器,Kylin,Python,pip,TLS/SSL
url: https://www.hiascend.com/document/caselibrary/detail/topic_0000001325617421-qwQKA0Nc
section: (其他)
---

# 青松服务器Kylin V10 sp1操作系统，源码方式安装完Python-3.9.2后，pip3工具无法使用-昇腾社区

URL: https://www.hiascend.com/document/caselibrary/detail/topic_0000001325617421-qwQKA0Nc
描述: 执行过程中出现如下提示。
关键词: 青松服务器,Kylin,Python,pip,TLS/SSL

昇腾文档 [了解详情](https://www.hiascend.com/document)

故障案例 [了解详情](https://www.hiascend.com/document/caselibrary)

青松服务器Kylin V10 sp1操作系统，源码方式安装完Python-3.9.2后，pip3工具无法使用

青松服务器Kylin V10 sp1操作系统，源码方式安装完Python-3.9.2后，pip3工具无法使用

2022/08/26

1.3k

问题信息

| 问题来源 | 产品大类 | 产品子类 | 关键字 |
| --- | --- | --- | ---|
| 官方 | 安装部署 | Vision SDK | 青松服务器、Kylin、Python、pip、TLS/SSL |

#### 问题现象描述

执行过程中出现如下提示。

```
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
```

#### 原因分析

系统自带openssl版本过低，不满足pip的需求。

#### 解决措施

需手动升级openssl版本，可参考如下方式进行解决：

1. 通过openssl官方网站下载最新版本源码包，本文以当前版本源码包openssl-1.1.1m.tar.gz为例。
2. 将源码包上传至青松服务器Kylin V10 sp1操作系统$HOME目录下。
3. 解压源码包并访问至解压目录下。

```
tar zxvf openssl-1.1.1m.tar.gz
cd openssl-1.1.1m/
```
4. 执行源码编译。

```
./config --prefix=/usr/local/openssl no-zlib
make -j32
make install
```
5. 备份原有openssl文件。

```
mv /usr/bin/openssl /usr/bin/openssl.bak
mv /usr/include/openssl/ /usr/include/openssl.bak
```
6. 执行以下命令，完成openssl更新。

```
ln -s /usr/local/openssl/include/openssl/ /usr/include/openssl
ln -s /usr/local/openssl/lib/libssl.so.1.1 /usr/local/lib64/libssl.so
ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl
```

本页内容

- 问题信息
- 问题现象描述
- 原因分析
- 解决措施
