Hi Russel,
I bought your book, and have given it quick read through about half way so far. I'm dying to analyze my mailbox, but the 'install -r requirements.txt' command fails while installing snappy (CentOS 6.5).
Any ideas? Thank you, Robert.
copying snappy.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_snappy' extension
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/ads/tools/python/2.7.7/include/python2.7 -c snappymodule.cc -o build/temp.linux-x86_64-2.7/snappymodule.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
snappymodule.cc:31:22: error: snappy-c.h: No such file or directory
snappymodule.cc:77: error: âsnappy_statusâ was not declared in this scope
snappymodule.cc:78: error: expected â,â or â;â before â{â token
snappymodule.cc:45: warning: â_stateâ defined but not used
snappymodule.cc:56: warning: âSnappyCompressErrorâ defined but not used
snappymodule.cc:57: warning: âSnappyUncompressErrorâ defined but not used
snappymodule.cc:58: warning: âSnappyInvalidCompressedInputErrorâ defined but not used
snappymodule.cc:59: warning: âSnappyCompressedLengthErrorâ defined but not used
snappymodule.cc:77: warning: âsnappy_strerrorâ defined but not used
error: command 'gcc' failed with exit status 1
Cleaning up...
Command /home/rstober/Agile_Data_Code/venv/bin/python2.7 -c "import setuptools, tokenize;file='/home/rstober/Agile_Data_Code/venv/build/python-snappy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-HFIM2_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/rstober/Agile_Data_Code/venv/include/site/python2.7 failed with error code 1 in /home/rstober/Agile_Data_Code/venv/build/python-snappy
Hi Russel,
I bought your book, and have given it quick read through about half way so far. I'm dying to analyze my mailbox, but the 'install -r requirements.txt' command fails while installing snappy (CentOS 6.5).
Any ideas? Thank you, Robert.
copying snappy.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_snappy' extension
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/ads/tools/python/2.7.7/include/python2.7 -c snappymodule.cc -o build/temp.linux-x86_64-2.7/snappymodule.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
snappymodule.cc:31:22: error: snappy-c.h: No such file or directory
snappymodule.cc:77: error: âsnappy_statusâ was not declared in this scope
snappymodule.cc:78: error: expected â,â or â;â before â{â token
snappymodule.cc:45: warning: â_stateâ defined but not used
snappymodule.cc:56: warning: âSnappyCompressErrorâ defined but not used
snappymodule.cc:57: warning: âSnappyUncompressErrorâ defined but not used
snappymodule.cc:58: warning: âSnappyInvalidCompressedInputErrorâ defined but not used
snappymodule.cc:59: warning: âSnappyCompressedLengthErrorâ defined but not used
snappymodule.cc:77: warning: âsnappy_strerrorâ defined but not used
error: command 'gcc' failed with exit status 1
Cleaning up...
Command /home/rstober/Agile_Data_Code/venv/bin/python2.7 -c "import setuptools, tokenize;file='/home/rstober/Agile_Data_Code/venv/build/python-snappy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-HFIM2_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/rstober/Agile_Data_Code/venv/include/site/python2.7 failed with error code 1 in /home/rstober/Agile_Data_Code/venv/build/python-snappy