When I used pip install leveldb in my MAC I got the error below, I searched the whole internet without any reply I could take with, my python env is 2.7, what made me upset
Some people have been able to fix this kind of issues by running
xcode-select --install
It is probably something related to your C++ installation. Here is a hint:
warning: include path for stdlibc++
Here you can find a similar discussion https://github.com/WebAssembly/wabt/issues/716