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