标签:profile 新版 配置 自带 了解 har mic Fix png
问题:mkdir /usr/local/openssl
tar xf openssl-1.1.1c.tar.gz
cd openssl-1.1.1c/
./config --prefix=/usr/local/openssl shared zlib
make && make install
echo ‘export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/openssl/lib‘ >> ~/.bash_profile
source ~/.bash_profile
tar xf Python-3.7.3.tar.xz
mkdir /usr/local/python3
cd Python-3.7.3/
./configure prefix=/usr/local/python3 --with-openssl=/usr/local/openssl
make && make install
echo ‘
#配置python
export PYTHON_HOME=/usr/local/python3
export PATH=$PYTHON_HOME/bin:$PATH‘ >> ~/.bash_profile
source ~/.bash_profile
编译的时候能看到ssl成功加载
ssl模块成功导入
标签:profile 新版 配置 自带 了解 har mic Fix png
原文地址:https://blog.51cto.com/jinkcloud/2411644