问题描述:安装web3 (命令:pip3 install web3==5.31.3)的时候报错
Collecting cytoolz<1.0.0,>=0.10.1; implementation_name == "cpython" (from eth-utils<2.0.0,>=1.9.5->web3==5.31.3)
Using cached https://files.pythonhosted.org/packages/da/89/66bac516a236af8375dd7af2b3032a210e222395670758da4b2439b37e40/cytoolz-0.12.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "" , line 1, in
File "/tmp/pip-build-v05vrmez/cytoolz/setup.py", line 59, in
raise RuntimeError('Cython required to build dev version of cytoolz.')
RuntimeError: Cython required to build dev version of cytoolz.
到处搜,找不到原因
需要安装Cython才能构建cytoolz模块。您可以使用以下命令来安装Cython:pip3 install Cython
然后在重新来一次web3试试