Description
(venv) MacBook-Pro:atomicals-electrumx isachoi$ CFLAGS='-stdlib=libc++ -std=c++11' pip3 install plyvel --no-cache-dir
Collecting plyvel
Downloading plyvel-1.5.1.tar.gz (200 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.1/200.1 kB 377.2 kB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Installing collected packages: plyvel
DEPRECATION: plyvel is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for plyvel ... error
error: subprocess-exited-with-error
× Running setup.py install for plyvel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
running install
/Users/isachoi/Desktop/Chainbase/ethereum-etl/venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-cpython-310
creating build/lib.macosx-10.9-universal2-cpython-310/plyvel
copying plyvel/_version.py -> build/lib.macosx-10.9-universal2-cpython-310/plyvel
copying plyvel/init.py -> build/lib.macosx-10.9-universal2-cpython-310/plyvel
running build_ext
building 'plyvel._plyvel' extension
creating build/temp.macosx-10.9-universal2-cpython-310
creating build/temp.macosx-10.9-universal2-cpython-310/plyvel
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -stdlib=libc++ -std=c++11 -I/Users/isachoi/Desktop/Chainbase/ethereum-etl/venv/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c plyvel/_plyvel.cpp -o build/temp.macosx-10.9-universal2-cpython-310/plyvel/_plyvel.o -Wall -g -x c++ -std=c++11 -stdlib=libc++
clang: warning: '-x c++' after last input file has no effect [-Wunused-command-line-argument]
plyvel/_plyvel.cpp:1227:10: fatal error: 'leveldb/db.h' file not found
#include "leveldb/db.h"
^~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> plyvel
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[notice] A new release of pip available: 22.3.1 -> 24.0
[notice] To update, run: pip install --upgrade pip
Activity