pypi 网站 找包
mac 环境安装 python3 (3.7.2) 源码包方式
mac 安装 start————————————
pkg 安装 推荐;(源码包总是 报 SSL error)
注意,必须是root安装,root 下操作 比如
pip3 install Scrapy
Location: /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
下载pkg包
Python for macOS consists of the Python programming language interpreter, plus a set of programs to allow easy access to it for macOS users including an integrated development environment IDLE.
Certificate verification and OpenSSL
This variant of Python 3.7 includes its own private copy of OpenSSL 1.1.0. The deprecated Apple-supplied OpenSSL libraries are no longer used
Python 3 and Python 2 Co-existence
Python.org Python 3.7 and 2.7.x versions can both be installed on your system and will not conflict. Command names for Python 3 contain a 3 in them, python3 (or python3.7), idle3 (or idle3.7), pip3 (or pip3.7), etc. Python 2.7 command names contain a 2 or no digit: python2 (or python2.7 or python), idle2 (or idle2.7 or idle), etc.
按提示 下载证书