简体   繁体   中英

Pipenv: “An error occurred while installing cytoolz” when trying to install web3 (python3.8-dev is installed)

I'm trying to install web3 in my pipenv environment and it fails when trying to install cytoolz. I already tried installing python3.8-dev (as the environment requires 3.8) and libssl-dev is also already installed.

First it says

An error occurred while installing cytoolz==0.10.0; implementation_name == 'cpython' --hash=sha256:ed9f6a07c2bac70d6c597df360d0666d11d2adc90141d54c5c2db08b380a4fac. Will try again.

It then proceeds to try to install it again and then outputs a log error message

Any help would be greatly appreciated!

The solution would be you installing Xcode Developer Tools. This is due to the fact that it will install C compiler which is a key dependency for cytoolz. That should sort out your issue once and for all. I do hope that this helps;-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM