Error installing requirements
Opened this issue · 0 comments
Running setup.py install for plyvel ... error
ERROR: Command errored out with exit status 1:
command: /Users/arkady/deep_learning_cookbook/venv3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/dz/jxcvm5zn27jchn44qmzk6f740000gn/T/pip-install-__fqg_m6/plyvel/setup.py'"'"'; file='"'"'/private/var/folders/dz/jxcvm5zn27jchn44qmzk6f740000gn/T/pip-install-__fqg_m6/plyvel/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/dz/jxcvm5zn27jchn44qmzk6f740000gn/T/pip-record-4h9ea_73/install-record.txt --single-version-externally-managed --compile --install-headers /Users/arkady/deep_learning_cookbook/venv3/include/site/python3.7/plyvel
cwd: /private/var/folders/dz/jxcvm5zn27jchn44qmzk6f740000gn/T/pip-install-__fqg_m6/plyvel/
Complete output (18 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.14-x86_64-3.7
creating build/lib.macosx-10.14-x86_64-3.7/plyvel
copying plyvel/_version.py -> build/lib.macosx-10.14-x86_64-3.7/plyvel
copying plyvel/init.py -> build/lib.macosx-10.14-x86_64-3.7/plyvel
running build_ext
building 'plyvel._plyvel' extension
creating build/temp.macosx-10.14-x86_64-3.7
creating build/temp.macosx-10.14-x86_64-3.7/plyvel
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/Users/arkady/deep_learning_cookbook/venv3/include -I/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c plyvel/_plyvel.cpp -o build/temp.macosx-10.14-x86_64-3.7/plyvel/_plyvel.o -Wall -g -x c++ -std=c++11
plyvel/_plyvel.cpp:615:10: fatal error: 'leveldb/db.h' file not found
#include "leveldb/db.h"
^~~~~~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/arkady/deep_learning_cookbook/venv3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/dz/jxcvm5zn27jchn44qmzk6f740000gn/T/pip-install-__fqg_m6/plyvel/setup.py'"'"'; file='"'"'/private/var/folders/dz/jxcvm5zn27jchn44qmzk6f740000gn/T/pip-install-__fqg_m6/plyvel/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/dz/jxcvm5zn27jchn44qmzk6f740000gn/T/pip-record-4h9ea_73/install-record.txt --single-version-externally-managed --compile --install-headers /Users/arkady/deep_learning_cookbook/venv3/include/site/python3.7/plyvel Check the logs for full command output.