知乎專欄 | 多維度架構 | | | 微信號 netkiller-ebook | | | QQ群:128659835 請註明“讀者” |
目錄
文檔地址 http://web3py.readthedocs.io/
[root@iZj6c39y62jl5b1wmfv6u8Z ~]# yum install python34-pip [root@iZj6c39y62jl5b1wmfv6u8Z ~]# pip3 install --upgrade pip Collecting pip Downloading http://mirrors.aliyun.com/pypi/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl (1.3MB) 100% |████████████████████████████████| 1.3MB 68.9MB/s Installing collected packages: pip Found existing installation: pip 8.1.2 Uninstalling pip-8.1.2: Successfully uninstalled pip-8.1.2 Successfully installed pip-10.0.1
python3.6 -m venv env --without-pip source env/bin/activate curl https://bootstrap.pypa.io/get-pip.py | python3 python3.6 -m pip install web3
首先去 python.org 官網下載 Python 3.6.5 dmg格式,安裝後進入終端。
You should consider upgrading via the 'pip install --upgrade pip' command. neo@MacBook-Pro ~/ethereum/web3.py % pip3.6 install --upgrade pip Cache entry deserialization failed, entry ignored Collecting pip Using cached https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 9.0.3 Uninstalling pip-9.0.3: Successfully uninstalled pip-9.0.3 Successfully installed pip-10.0.1 neo@MacBook-Pro ~/ethereum/web3.py % pip3.6 install web3