0
点赞
收藏
分享

微信扫一扫

MacOS13 安装 python3.8.15


brew install openssl

在Python-3.6.15/Modules/Setup文件里打开ssl相关四五行注释

echo ‘export PATH=“/opt/homebrew/opt/openssl@3/bin:$PATH”’ >> ~/.zshrc

export LDFLAGS=“-L/opt/homebrew/opt/openssl@3/lib”

export CPPFLAGS=“-I/opt/homebrew/opt/openssl@3/include”

./configure --prefix=/path/Py38 --enable-optimizations

make && make install

cd /path/Py38/bin

./pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.14.0-py3-none-any.whl


举报

相关推荐

0 条评论