Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Can not build on mac os x #14

Open
mustafa-qamaruddin opened this issue Feb 28, 2018 · 1 comment
Open

Can not build on mac os x #14

mustafa-qamaruddin opened this issue Feb 28, 2018 · 1 comment
Labels

Comments

@mustafa-qamaruddin
Copy link

$ sudo pip3 install pypillowfight
The directory '/Users/mac/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/mac/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pypillowfight
Downloading pypillowfight-0.2.2.tar.gz (42kB)
100% |████████████████████████████████| 51kB 319kB/s
Requirement already satisfied: Pillow in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from pypillowfight)
Installing collected packages: pypillowfight
Running setup.py install for pypillowfight ... error
Complete output from command /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-r62__i64/pypillowfight/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-pgc4ktur-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.6
creating build/lib.macosx-10.6-intel-3.6/pillowfight
copying src/pillowfight/init.py -> build/lib.macosx-10.6-intel-3.6/pillowfight
running build_ext
building 'pillowfight._clib' extension
creating build/temp.macosx-10.6-intel-3.6
creating build/temp.macosx-10.6-intel-3.6/src
creating build/temp.macosx-10.6-intel-3.6/src/pillowfight
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -UNDEBUG -Iinclude -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c src/pillowfight/util.c -o build/temp.macosx-10.6-intel-3.6/src/pillowfight/util.o
In file included from src/pillowfight/util.c:23:
include/pillowfight/util.h:29:10: fatal error: 'values.h' file not found
#include <values.h>
^
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1

----------------------------------------

Command "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-r62__i64/pypillowfight/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-pgc4ktur-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-r62__i64/pypillowfight/

@jflesch
Copy link
Member

jflesch commented Feb 28, 2018

It should already be fixed in Git : 05e0a13 . I just haven't released it yet.

@jflesch jflesch added the bug label Feb 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants