-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error (snappy) installing requirements in virtualenv. #41
Comments
You must install snappy before installing the python snappy package. homebrew, yum or apt-get have packages for it, or you can install from here https://code.google.com/p/snappy/ |
Please review this … (virtualenv)David-Laxers-MacBook-Pro:~ davidlaxer$ cd Agile_Data_Code/ Downloading/unpacking ESClient==0.5.3 (from -r requirements.txt (line 2)) Downloading/unpacking Flask==0.9 (from -r requirements.txt (line 3))
Downloading/unpacking Jinja2==2.6 (from -r requirements.txt (line 4))
Downloading/unpacking LEPL==5.1.3 (from -r requirements.txt (line 5)) Downloading/unpacking Mail==2.1.0 (from -r requirements.txt (line 6)) Downloading/unpacking Werkzeug==0.8.3 (from -r requirements.txt (line 7))
Downloading/unpacking distribute==0.6.31 (from -r requirements.txt (line 8)) Downloading/unpacking python-snappy (from -r requirements.txt (line 9)) Downloading/unpacking avro==1.7.3 (from -r requirements.txt (line 10)) Obtaining pyelasticsearch from git+https://github.com/rhec/pyelasticsearch.git#egg=pyelasticsearch (from -r requirements.txt (line 11)) Downloading/unpacking pymongo==2.4.1 (from -r requirements.txt (line 12)) Downloading/unpacking requests==1.0.4 (from -r requirements.txt (line 13)) Downloading/unpacking simplejson==2.6.2 (from -r requirements.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /Users/davidlaxer/anaconda/lib/python2.7 (from -r requirements.txt (line 15))
Downloading/unpacking honcho (from -r requirements.txt (line 17)) Downloading/unpacking scipy (from -r requirements.txt (line 18))
Downloading/unpacking dotcloud (from -r requirements.txt (line 19)) Downloading/unpacking python-dateutil (from -r requirements.txt (line 20)) Downloading/unpacking nltk (from -r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): six in /Users/davidlaxer/virtualenv/lib/python2.7/site-packages (from pyelasticsearch->-r requirements.txt (line 11))
Downloading/unpacking colorama (from dotcloud->-r requirements.txt (line 19)) Installing collected packages: BareNecessities, ESClient, Flask, Jinja2, LEPL, Mail, Werkzeug, distribute, python-snappy, avro, pyelasticsearch, pymongo, requests, simplejson, numpy, honcho, scipy, dotcloud, python-dateutil, nltk, argparse, colorama Running setup.py install for ESClient Running setup.py install for Flask
Running setup.py install for Jinja2
Running setup.py install for LEPL Running setup.py install for Mail Running setup.py install for Werkzeug
Running setup.py install for distribute running build running build_py creating build creating build/lib.macosx-10.5-x86_64-2.7 copying snappy.py -> build/lib.macosx-10.5-x86_64-2.7 running build_ext building '_snappy' extension creating build/temp.macosx-10.5-x86_64-2.7 gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c snappymodule.cc -o build/temp.macosx-10.5-x86_64-2.7/snappymodule.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] snappymodule.cc:45:28: warning: '_state' defined but not used [-Wunused-variable] static struct module_state _state;
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c crc32c.c -o build/temp.macosx-10.5-x86_64-2.7/crc32c.o gcc -bundle -undefined dynamic_lookup -L/Users/davidlaxer/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/snappymodule.o build/temp.macosx-10.5-x86_64-2.7/crc32c.o -L/Users/davidlaxer/anaconda/lib -lsnappy -o build/lib.macosx-10.5-x86_64-2.7/_snappy.so ld: library not found for -lsnappy collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Cleaning up... Installing collected packages: python-snappy running build running build_py creating build creating build/lib.macosx-10.5-x86_64-2.7 copying snappy.py -> build/lib.macosx-10.5-x86_64-2.7 running build_ext building '_snappy' extension creating build/temp.macosx-10.5-x86_64-2.7 gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c snappymodule.cc -o build/temp.macosx-10.5-x86_64-2.7/snappymodule.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] snappymodule.cc:45:28: warning: '_state' defined but not used [-Wunused-variable] static struct module_state _state;
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c crc32c.c -o build/temp.macosx-10.5-x86_64-2.7/crc32c.o gcc -bundle -undefined dynamic_lookup -L/Users/davidlaxer/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/snappymodule.o build/temp.macosx-10.5-x86_64-2.7/crc32c.o -L/Users/davidlaxer/anaconda/lib -lsnappy -o build/lib.macosx-10.5-x86_64-2.7/_snappy.so ld: library not found for -lsnappy collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Cleaning up... Installing collected packages: python-snappy running build running build_py creating build creating build/lib.macosx-10.5-x86_64-2.7 copying snappy.py -> build/lib.macosx-10.5-x86_64-2.7 running build_ext building '_snappy' extension creating build/temp.macosx-10.5-x86_64-2.7 gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c snappymodule.cc -o build/temp.macosx-10.5-x86_64-2.7/snappymodule.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] snappymodule.cc:45:28: warning: '_state' defined but not used [-Wunused-variable] static struct module_state _state;
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c crc32c.c -o build/temp.macosx-10.5-x86_64-2.7/crc32c.o gcc -bundle -undefined dynamic_lookup -L/Users/davidlaxer/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/snappymodule.o build/temp.macosx-10.5-x86_64-2.7/crc32c.o -L/Users/davidlaxer/anaconda/lib -lsnappy -o build/lib.macosx-10.5-x86_64-2.7/_snappy.so ld: library not found for -lsnappy collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Cleaning up... Downloading/unpacking avro==1.7.3 (from -r requirements.txt (line 10)) Obtaining pyelasticsearch from git+https://github.com/rhec/pyelasticsearch.git#egg=pyelasticsearch (from -r requirements.txt (line 11)) Downloading/unpacking pymongo==2.4.1 (from -r requirements.txt (line 12)) Downloading/unpacking requests==1.0.4 (from -r requirements.txt (line 13)) Downloading/unpacking simplejson==2.6.2 (from -r requirements.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /Users/davidlaxer/anaconda/lib/python2.7 (from -r requirements.txt (line 15)) Storing complete log in /Users/davidlaxer/.pip/pip.log Downloading/unpacking avro==1.7.3 (from -r requirements.txt (line 10)) Obtaining pyelasticsearch from git+https://github.com/rhec/pyelasticsearch.git#egg=pyelasticsearch (from -r requirements.txt (line 11)) Downloading/unpacking pymongo==2.4.1 (from -r requirements.txt (line 12)) Downloading/unpacking requests==1.0.4 (from -r requirements.txt (line 13)) Downloading/unpacking simplejson==2.6.2 (from -r requirements.txt (line 14)) Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /Users/davidlaxer/anaconda/lib/python2.7 (from -r requirements.txt (line 15))
Downloading/unpacking honcho (from -r requirements.txt (line 17)) Downloading/unpacking scipy (from -r requirements.txt (line 18))
Downloading/unpacking dotcloud (from -r requirements.txt (line 19)) Downloading/unpacking python-dateutil (from -r requirements.txt (line 20)) Downloading/unpacking nltk (from -r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): six in /Users/davidlaxer/virtualenv/lib/python2.7/site-packages (from pyelasticsearch->-r requirements.txt (line 11))
Downloading/unpacking colorama (from dotcloud->-r requirements.txt (line 19)) Installing collected packages: python-snappy, avro, pyelasticsearch, pymongo, requests, simplejson, numpy, honcho, scipy, dotcloud, python-dateutil, nltk, argparse, colorama running build running build_py creating build creating build/lib.macosx-10.5-x86_64-2.7 copying snappy.py -> build/lib.macosx-10.5-x86_64-2.7 running build_ext building '_snappy' extension creating build/temp.macosx-10.5-x86_64-2.7 gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c snappymodule.cc -o build/temp.macosx-10.5-x86_64-2.7/snappymodule.o cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default] snappymodule.cc:45:28: warning: '_state' defined but not used [-Wunused-variable] static struct module_state _state;
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c crc32c.c -o build/temp.macosx-10.5-x86_64-2.7/crc32c.o gcc -bundle -undefined dynamic_lookup -L/Users/davidlaxer/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/snappymodule.o build/temp.macosx-10.5-x86_64-2.7/crc32c.o -L/Users/davidlaxer/anaconda/lib -lsnappy -o build/lib.macosx-10.5-x86_64-2.7/_snappy.so ld: library not found for -lsnappy collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Cleaning up... On Oct 8, 2014, at 3:55 PM, Russell Jurney [email protected] wrote:
|
This is interesting: http://stackoverflow.com/questions/24027435/python-snappy-link-error-in-mac On Oct 8, 2014, at 6:14 PM, David Laxer [email protected] wrote:
|
(virtualenv)DLs-MacBook-Pro:Agile_Data_Code davidlaxer$ pip install -r requirements.txt
Downloading/unpacking BareNecessities==0.2.8 (from -r requirements.txt (line 1))
Downloading BareNecessities-0.2.8.tar.gz
Running setup.py egg_info for package BareNecessities
Downloading/unpacking ESClient==0.5.3 (from -r requirements.txt (line 2))
Downloading ESClient-0.5.3.tar.gz
Running setup.py egg_info for package ESClient
Downloading/unpacking Flask==0.9 (from -r requirements.txt (line 3))
Downloading Flask-0.9.tar.gz (481kB): 481kB downloaded
Running setup.py egg_info for package Flask
Downloading/unpacking Jinja2==2.6 (from -r requirements.txt (line 4))
Downloading Jinja2-2.6.tar.gz (389kB): 389kB downloaded
Running setup.py egg_info for package Jinja2
Downloading/unpacking LEPL==5.1.3 (from -r requirements.txt (line 5))
Downloading LEPL-5.1.3.tar.gz (203kB): 203kB downloaded
Running setup.py egg_info for package LEPL
Downloading/unpacking Mail==2.1.0 (from -r requirements.txt (line 6))
Downloading Mail-2.1.0.tar.gz
Running setup.py egg_info for package Mail
Downloading/unpacking Werkzeug==0.8.3 (from -r requirements.txt (line 7))
Downloading Werkzeug-0.8.3.tar.gz (1.1MB): 1.1MB downloaded
Running setup.py egg_info for package Werkzeug
Downloading/unpacking distribute==0.6.31 (from -r requirements.txt (line 8))
Downloading distribute-0.6.31.tar.gz (643kB): 643kB downloaded
Running setup.py egg_info for package distribute
Downloading/unpacking python-snappy (from -r requirements.txt (line 9))
Downloading python-snappy-0.5.tar.gz
Running setup.py egg_info for package python-snappy
Downloading/unpacking avro==1.7.3 (from -r requirements.txt (line 10))
Downloading avro-1.7.3.tar.gz
Running setup.py egg_info for package avro
Obtaining pyelasticsearch from git+https://github.com/rhec/pyelasticsearch.git#egg=pyelasticsearch (from -r requirements.txt (line 11))
Cloning https://github.com/rhec/pyelasticsearch.git to /Users/davidlaxer/virtualenv/src/pyelasticsearch
Running setup.py egg_info for package pyelasticsearch
Downloading/unpacking pymongo==2.4.1 (from -r requirements.txt (line 12))
Downloading pymongo-2.4.1.tar.gz (275kB): 275kB downloaded
Running setup.py egg_info for package pymongo
Downloading/unpacking requests==1.0.4 (from -r requirements.txt (line 13))
Downloading requests-1.0.4.tar.gz (336kB): 336kB downloaded
Running setup.py egg_info for package requests
Downloading/unpacking simplejson==2.6.2 (from -r requirements.txt (line 14))
Downloading simplejson-2.6.2.tar.gz (53kB): 53kB downloaded
Running setup.py egg_info for package simplejson
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /Users/davidlaxer/anaconda/lib/python2.7 (from -r requirements.txt (line 15))
Downloading/unpacking numpy (from -r requirements.txt (line 16))
Downloading numpy-1.9.0.tar.gz (4.0MB): 4.0MB downloaded
Running setup.py egg_info for package numpy
Running from numpy source directory.
Downloading/unpacking honcho (from -r requirements.txt (line 17))
Downloading honcho-0.5.0.tar.gz
Running setup.py egg_info for package honcho
Downloading/unpacking scipy (from -r requirements.txt (line 18))
Downloading scipy-0.14.0.tar.gz (10.2MB): 10.2MB downloaded
Running setup.py egg_info for package scipy
Downloading/unpacking dotcloud (from -r requirements.txt (line 19))
Downloading dotcloud-0.9.8.tar.gz
Running setup.py egg_info for package dotcloud
Downloading/unpacking python-dateutil (from -r requirements.txt (line 20))
Downloading python-dateutil-2.2.tar.gz (259kB): 259kB downloaded
Running setup.py egg_info for package python-dateutil
Downloading/unpacking nltk (from -r requirements.txt (line 21))
Downloading nltk-3.0.0.tar.gz (962kB): 962kB downloaded
Running setup.py egg_info for package nltk
Requirement already satisfied (use --upgrade to upgrade): six in /Users/davidlaxer/virtualenv/lib/python2.7/site-packages (from pyelasticsearch->-r requirements.txt (line 11))
Downloading/unpacking argparse (from dotcloud->-r requirements.txt (line 19))
Downloading argparse-1.2.1.tar.gz (69kB): 69kB downloaded
Running setup.py egg_info for package argparse
Downloading/unpacking colorama (from dotcloud->-r requirements.txt (line 19))
Downloading colorama-0.3.2.tar.gz
Running setup.py egg_info for package colorama
Installing collected packages: BareNecessities, ESClient, Flask, Jinja2, LEPL, Mail, Werkzeug, distribute, python-snappy, avro, pyelasticsearch, pymongo, requests, simplejson, numpy, honcho, scipy, dotcloud, python-dateutil, nltk, argparse, colorama
Running setup.py install for BareNecessities
Running setup.py install for ESClient
Running setup.py install for Flask
Running setup.py install for Jinja2
Running setup.py install for LEPL
Running setup.py install for Mail
Running setup.py install for Werkzeug
Running setup.py install for distribute
Before install bootstrap.
Scanning installed packages
Setuptools installation detected at /Users/davidlaxer/virtualenv/lib/python2.7/site-packages
Non-egg installation
Moving elements out of the way...
Renaming /Users/davidlaxer/virtualenv/lib/python2.7/site-packages/setuptools-1.1.5-py2.7.egg-info to /Users/davidlaxer/virtualenv/lib/python2.7/site-packages/setuptools-1.1.5-py2.7.egg-info.OLD.1412614402.06
Renaming /Users/davidlaxer/virtualenv/lib/python2.7/site-packages/setuptools to /Users/davidlaxer/virtualenv/lib/python2.7/site-packages/setuptools.OLD.1412614402.07
Renaming /Users/davidlaxer/virtualenv/lib/python2.7/site-packages/pkg_resources.py to /Users/davidlaxer/virtualenv/lib/python2.7/site-packages/pkg_resources.py.OLD.1412614402.07
Could not find the /Users/davidlaxer/virtualenv/lib/python2.7/site-packages/site.py element of the Setuptools distribution
Patching complete.
Relaunching...
Before install bootstrap.
Scanning installed packages
Setuptools installation detected at /Users/davidlaxer/virtualenv/lib/python2.7/site-packages
Non-egg installation
Moving elements out of the way...
/Users/davidlaxer/virtualenv/lib/python2.7/site-packages/setuptools-1.1.5-py2.7.egg-info/EGG-INFO/PKG-INFO already patched.
/Users/davidlaxer/virtualenv/lib/python2.7/site-packages/setuptools-1.1.5-py2.7.egg-info already patched.
Installing easy_install script to /Users/davidlaxer/virtualenv/bin
Installing easy_install-2.7 script to /Users/davidlaxer/virtualenv/bin
After install bootstrap.
Creating /Users/davidlaxer/virtualenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info
Creating /Users/davidlaxer/virtualenv/lib/python2.7/site-packages/setuptools.pth
Running setup.py install for python-snappy
building '_snappy' extension
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c snappymodule.cc -o build/temp.macosx-10.5-x86_64-2.7/snappymodule.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
snappymodule.cc:45:28: warning: '_state' defined but not used [-Wunused-variable]
static struct module_state _state;
^
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c crc32c.c -o build/temp.macosx-10.5-x86_64-2.7/crc32c.o
gcc -bundle -undefined dynamic_lookup -L/Users/davidlaxer/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/snappymodule.o build/temp.macosx-10.5-x86_64-2.7/crc32c.o -L/Users/davidlaxer/anaconda/lib -lsnappy -o build/lib.macosx-10.5-x86_64-2.7/_snappy.so
ld: library not found for -lsnappy
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Complete output from command /Users/davidlaxer/virtualenv/bin/python2 -c "import setuptools;file='/Users/davidlaxer/virtualenv/build/python-snappy/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/pip-ujZVlI-record/install-record.txt --single-version-externally-managed --install-headers /Users/davidlaxer/virtualenv/include/site/python2.7:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.5-x86_64-2.7
copying snappy.py -> build/lib.macosx-10.5-x86_64-2.7
running build_ext
building '_snappy' extension
creating build/temp.macosx-10.5-x86_64-2.7
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c snappymodule.cc -o build/temp.macosx-10.5-x86_64-2.7/snappymodule.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
snappymodule.cc:45:28: warning: '_state' defined but not used [-Wunused-variable]
static struct module_state _state;
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c crc32c.c -o build/temp.macosx-10.5-x86_64-2.7/crc32c.o
gcc -bundle -undefined dynamic_lookup -L/Users/davidlaxer/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/snappymodule.o build/temp.macosx-10.5-x86_64-2.7/crc32c.o -L/Users/davidlaxer/anaconda/lib -lsnappy -o build/lib.macosx-10.5-x86_64-2.7/_snappy.so
ld: library not found for -lsnappy
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Cleaning up...
Command /Users/davidlaxer/virtualenv/bin/python2 -c "import setuptools;file='/Users/davidlaxer/virtualenv/build/python-snappy/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/pip-ujZVlI-record/install-record.txt --single-version-externally-managed --install-headers /Users/davidlaxer/virtualenv/include/site/python2.7 failed with error code 1 in /Users/davidlaxer/virtualenv/build/python-snappy
Storing complete log in /Users/davidlaxer/.pip/pip.log
(virtualenv)David-Laxers-MacBook-Pro:Agile_Data_Code davidlaxer$ pip install snappy
Downloading/unpacking snappy
Could not find any downloads that satisfy the requirement snappy
Cleaning up...
No distributions at all found for snappy
Storing complete log in /Users/davidlaxer/.pip/pip.log
(virtualenv)David-Laxers-MacBook-Pro:Agile_Data_Code davidlaxer$ pip install python-snappy
Downloading/unpacking python-snappy
Downloading python-snappy-0.5.tar.gz
Running setup.py egg_info for package python-snappy
Installing collected packages: python-snappy
Running setup.py install for python-snappy
building '_snappy' extension
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c snappymodule.cc -o build/temp.macosx-10.5-x86_64-2.7/snappymodule.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
snappymodule.cc:45:28: warning: '_state' defined but not used [-Wunused-variable]
static struct module_state _state;
^
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c crc32c.c -o build/temp.macosx-10.5-x86_64-2.7/crc32c.o
gcc -bundle -undefined dynamic_lookup -L/Users/davidlaxer/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/snappymodule.o build/temp.macosx-10.5-x86_64-2.7/crc32c.o -L/Users/davidlaxer/anaconda/lib -lsnappy -o build/lib.macosx-10.5-x86_64-2.7/_snappy.so
ld: library not found for -lsnappy
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Complete output from command /Users/davidlaxer/virtualenv/bin/python2 -c "import setuptools;file='/Users/davidlaxer/virtualenv/build/python-snappy/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/pip-9GakDF-record/install-record.txt --single-version-externally-managed --install-headers /Users/davidlaxer/virtualenv/include/site/python2.7:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.5-x86_64-2.7
copying snappy.py -> build/lib.macosx-10.5-x86_64-2.7
running build_ext
building '_snappy' extension
creating build/temp.macosx-10.5-x86_64-2.7
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c snappymodule.cc -o build/temp.macosx-10.5-x86_64-2.7/snappymodule.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
snappymodule.cc:45:28: warning: '_state' defined but not used [-Wunused-variable]
static struct module_state _state;
gcc -fno-strict-aliasing -I/Users/davidlaxer/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/davidlaxer/anaconda/include/python2.7 -c crc32c.c -o build/temp.macosx-10.5-x86_64-2.7/crc32c.o
gcc -bundle -undefined dynamic_lookup -L/Users/davidlaxer/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/snappymodule.o build/temp.macosx-10.5-x86_64-2.7/crc32c.o -L/Users/davidlaxer/anaconda/lib -lsnappy -o build/lib.macosx-10.5-x86_64-2.7/_snappy.so
ld: library not found for -lsnappy
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Cleaning up...
Command /Users/davidlaxer/virtualenv/bin/python2 -c "import setuptools;file='/Users/davidlaxer/virtualenv/build/python-snappy/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/pip-9GakDF-record/install-record.txt --single-version-externally-managed --install-headers /Users/davidlaxer/virtualenv/include/site/python2.7 failed with error code 1 in /Users/davidlaxer/virtualenv/build/python-snappy
Storing complete log in /Users/davidlaxer/.pip/pip.log
(virtualenv)DLs-MacBook-Pro:Agile_Data_Code davidlaxer$
The text was updated successfully, but these errors were encountered: