Skip to content

Instantly share code, notes, and snippets.

@makoto
Created April 27, 2017 07:59
Show Gist options
  • Save makoto/fd87edb10d9d1b3b9a949d8ad3a068e6 to your computer and use it in GitHub Desktop.
Save makoto/fd87edb10d9d1b3b9a949d8ad3a068e6 to your computer and use it in GitHub Desktop.
08:51:54-makoto~/work/mauve/colour-card/backend (master)$ pip install qrencode
Collecting qrencode
Downloading qrencode-1.2.tar.gz
Building wheels for collected packages: qrencode
Running setup.py bdist_wheel for qrencode ... error
Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/y9/c126c_6n3bn22_xry_xpsp8c0000gn/T/pip-build-jgIpKL/qrencode/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/y9/c126c_6n3bn22_xry_xpsp8c0000gn/T/tmpeDbxkLpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.10-x86_64-2.7
creating build/lib.macosx-10.10-x86_64-2.7/qrencode
copying qrencode/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/qrencode
running build_ext
building 'qrencode._qrencode' extension
creating build/temp.macosx-10.10-x86_64-2.7
clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c qr_encode.c -o build/temp.macosx-10.10-x86_64-2.7/qr_encode.o
qr_encode.c:3:10: fatal error: 'qrencode.h' file not found
#include <qrencode.h>
^
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
Failed building wheel for qrencode
Running setup.py clean for qrencode
Failed to build qrencode
Installing collected packages: qrencode
Running setup.py install for qrencode ... error
Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/y9/c126c_6n3bn22_xry_xpsp8c0000gn/T/pip-build-jgIpKL/qrencode/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/y9/c126c_6n3bn22_xry_xpsp8c0000gn/T/pip-UCCcMD-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.10-x86_64-2.7
creating build/lib.macosx-10.10-x86_64-2.7/qrencode
copying qrencode/__init__.py -> build/lib.macosx-10.10-x86_64-2.7/qrencode
running build_ext
building 'qrencode._qrencode' extension
creating build/temp.macosx-10.10-x86_64-2.7
clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c qr_encode.c -o build/temp.macosx-10.10-x86_64-2.7/qr_encode.o
qr_encode.c:3:10: fatal error: 'qrencode.h' file not found
#include <qrencode.h>
^
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/y9/c126c_6n3bn22_xry_xpsp8c0000gn/T/pip-build-jgIpKL/qrencode/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/y9/c126c_6n3bn22_xry_xpsp8c0000gn/T/pip-UCCcMD-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/y9/c126c_6n3bn22_xry_xpsp8c0000gn/T/pip-build-jgIpKL/qrencode/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment