相关的博文请参考。
这里说一下打包过程中依赖关系。
我在打包 web3 的程序的时候,发现,其版本不同会导致出现各种 bug ,这个,给我,我使用成功的打包环境。
当然,里面很多库可能有冗余,请对照自己项目进行改正。
这里比较重点的是。
- web3 5.19.0
- websockets 8.1
| 包名 | 版本 |
|---|---|
| aiohttp | 3.7.4.post0 |
| altgraph | 0.17 |
| async-timeout | 3.0.1 |
| attrs | 21.2.0 |
| base58 | 2.1.0 |
| bitarray | 1.2.2 |
| certifi 2 | 021.5.30 |
| chardet | 4.0.0 |
| cytoolz | 0.11.0 |
| eth-abi | 2.1.1 |
| eth-account | 0.5.4 |
| eth-hash | 0.3.1 |
| eth-keyfile | 0.5.1 |
| eth-keys | 0.3.3 |
| eth-rlp | 0.2.1 |
| eth-typing | 2.2.2 |
| eth-utils | 1.10.0 |
| future | 0.18.2 |
| hexbytes | 0.2.1 |
| idna | 2.10 |
| idna-ssl | 1.1.0 |
| importlib-metadata | 4.6.0 |
| importlib-resources | 5.2.0 |
| ipfshttpclient | 0.7.0a1 |
| jsonschema | 3.2.0 |
| lru-dict | 1.1.7 |
| multiaddr | 0.0.9 |
| multidict | 5.1.0 |
| netaddr | 0.8.0 |
| parsimonious | 0.8.1 |
| pefile 2 | 021.5.24 |
| pip | 21.1.3 |
| protobuf | 3.17.3 |
| pycryptodome | 3.10.1 |
| pyinstaller | 4.3 |
| pyinstaller-hooks-contrib | 2021.2 |
| pyrsistent | 0.18.0 |
| pywebio | 1.3.3 |
| pywin32 | 301 |
| pywin32-ctypes | 0.2.0 |
| requests | 2.25.1 |
| rlp | 2.0.1 |
| setuptools | 57.0.0 |
| six | 1.16.0 |
| toolz | 0.11.1 |
| tornado | 6.1 |
| typing-extensions | 3.10.0.0 |
| ua-parser | 0.10.0 |
| urllib3 | 1.26.6 |
| user-agents | 2.2.0 |
| varint | 1.0.2 |
| web3 | 5.19.0 |
| websockets | 8.1 |
| wheel | 0.36.2 |
| wincertstore | 0.2 |
| xlrd | 1.2.0 |
| yarl | 1.6.3 |
| zipp | 3.4.1 |