Open amberkiser opened 5 years ago
When trying to install on a Mac using the given pip install statement "pip install git+https://github.com/AIworx-Labs/chocolate@master" the install fails and gives this output:
Collecting git+https://github.com/AIworx-Labs/chocolate@master Cloning https://github.com/AIworx-Labs/chocolate (to revision master) to /private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5 Requirement already satisfied: numpy>=1.11 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (1.16.2) Requirement already satisfied: scipy>=0.18 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (1.1.0) Requirement already satisfied: scikit-learn>=0.18 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (0.20.1) Requirement already satisfied: pandas>=0.19 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (0.24.1) Requirement already satisfied: dataset>=0.8 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (1.1.2) Requirement already satisfied: filelock>=2.0 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (3.0.10) Requirement already satisfied: pytz>=2011k in /anaconda3/lib/python3.7/site-packages (from pandas>=0.19->chocolate==0.6) (2018.7) Requirement already satisfied: python-dateutil>=2.5.0 in /anaconda3/lib/python3.7/site-packages (from pandas>=0.19->chocolate==0.6) (2.7.5) Requirement already satisfied: six>=1.11.0 in /anaconda3/lib/python3.7/site-packages (from dataset>=0.8->chocolate==0.6) (1.12.0) Requirement already satisfied: sqlalchemy>=1.1.2 in /anaconda3/lib/python3.7/site-packages (from dataset>=0.8->chocolate==0.6) (1.2.15) Requirement already satisfied: alembic>=0.6.2 in /anaconda3/lib/python3.7/site-packages (from dataset>=0.8->chocolate==0.6) (1.0.7) Requirement already satisfied: Mako in /anaconda3/lib/python3.7/site-packages (from alembic>=0.6.2->dataset>=0.8->chocolate==0.6) (1.0.7) Requirement already satisfied: python-editor>=0.3 in /anaconda3/lib/python3.7/site-packages (from alembic>=0.6.2->dataset>=0.8->chocolate==0.6) (1.0.4) Requirement already satisfied: MarkupSafe>=0.9.2 in /anaconda3/lib/python3.7/site-packages (from Mako->alembic>=0.6.2->dataset>=0.8->chocolate==0.6) (1.1.0) Building wheels for collected packages: chocolate Running setup.py bdist_wheel for chocolate ... error Complete output from command /anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5/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 /private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-wheel-xqs95re1 --python-tag cp37: running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/space.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/base.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate creating build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation copying chocolate/crossvalidation/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation copying chocolate/crossvalidation/repeat.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation creating build/lib.macosx-10.7-x86_64-3.7/chocolate/mo copying chocolate/mo/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/mo copying chocolate/mo/pyhv.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/mo creating build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional copying chocolate/conditional/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional copying chocolate/conditional/thompson.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional creating build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/pandas.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/splitter.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/mongodb.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/sqlite.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection creating build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/kernels.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/bayes.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/cmaes.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search creating build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/grid.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/quasirandom.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/random.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample running build_ext building 'chocolate.mo.hv' extension creating build/temp.macosx-10.7-x86_64-3.7 creating build/temp.macosx-10.7-x86_64-3.7/chocolate creating build/temp.macosx-10.7-x86_64-3.7/chocolate/mo gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.7m -c chocolate/mo/_hv.c -o build/temp.macosx-10.7-x86_64-3.7/chocolate/mo/_hv.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.7m -c chocolate/mo/hv.cpp -o build/temp.macosx-10.7-x86_64-3.7/chocolate/mo/hv.o warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] chocolate/mo/hv.cpp:24:10: fatal error: 'cstdlib' file not found
^~~~~~~~~
1 warning and 1 error generated. error: command 'gcc' failed with exit status 1
Failed building wheel for chocolate Running setup.py clean for chocolate Failed to build chocolate Installing collected packages: chocolate Running setup.py install for chocolate ... error Complete output from command /anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5/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/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-record-_571vfdr/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/space.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/base.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate creating build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation copying chocolate/crossvalidation/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation copying chocolate/crossvalidation/repeat.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation creating build/lib.macosx-10.7-x86_64-3.7/chocolate/mo copying chocolate/mo/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/mo copying chocolate/mo/pyhv.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/mo creating build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional copying chocolate/conditional/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional copying chocolate/conditional/thompson.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional creating build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/pandas.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/splitter.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/mongodb.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/sqlite.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection creating build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/kernels.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/bayes.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/cmaes.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search creating build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/grid.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/quasirandom.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/random.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample running build_ext building 'chocolate.mo.hv' extension creating build/temp.macosx-10.7-x86_64-3.7 creating build/temp.macosx-10.7-x86_64-3.7/chocolate creating build/temp.macosx-10.7-x86_64-3.7/chocolate/mo gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.7m -c chocolate/mo/_hv.c -o build/temp.macosx-10.7-x86_64-3.7/chocolate/mo/_hv.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.7m -c chocolate/mo/hv.cpp -o build/temp.macosx-10.7-x86_64-3.7/chocolate/mo/hv.o warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] chocolate/mo/hv.cpp:24:10: fatal error: 'cstdlib' file not found
^~~~~~~~~ 1 warning and 1 error generated. error: command 'gcc' failed with exit status 1 ----------------------------------------
Command "/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5/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/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-record-_571vfdr/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5/
This was resolved by installing an older version of XCode (v7.3).
I'm reopening this issue. It should work in a vanilla environnement.
When trying to install on a Mac using the given pip install statement "pip install git+https://github.com/AIworx-Labs/chocolate@master" the install fails and gives this output:
Collecting git+https://github.com/AIworx-Labs/chocolate@master Cloning https://github.com/AIworx-Labs/chocolate (to revision master) to /private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5 Requirement already satisfied: numpy>=1.11 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (1.16.2) Requirement already satisfied: scipy>=0.18 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (1.1.0) Requirement already satisfied: scikit-learn>=0.18 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (0.20.1) Requirement already satisfied: pandas>=0.19 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (0.24.1) Requirement already satisfied: dataset>=0.8 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (1.1.2) Requirement already satisfied: filelock>=2.0 in /anaconda3/lib/python3.7/site-packages (from chocolate==0.6) (3.0.10) Requirement already satisfied: pytz>=2011k in /anaconda3/lib/python3.7/site-packages (from pandas>=0.19->chocolate==0.6) (2018.7) Requirement already satisfied: python-dateutil>=2.5.0 in /anaconda3/lib/python3.7/site-packages (from pandas>=0.19->chocolate==0.6) (2.7.5) Requirement already satisfied: six>=1.11.0 in /anaconda3/lib/python3.7/site-packages (from dataset>=0.8->chocolate==0.6) (1.12.0) Requirement already satisfied: sqlalchemy>=1.1.2 in /anaconda3/lib/python3.7/site-packages (from dataset>=0.8->chocolate==0.6) (1.2.15) Requirement already satisfied: alembic>=0.6.2 in /anaconda3/lib/python3.7/site-packages (from dataset>=0.8->chocolate==0.6) (1.0.7) Requirement already satisfied: Mako in /anaconda3/lib/python3.7/site-packages (from alembic>=0.6.2->dataset>=0.8->chocolate==0.6) (1.0.7) Requirement already satisfied: python-editor>=0.3 in /anaconda3/lib/python3.7/site-packages (from alembic>=0.6.2->dataset>=0.8->chocolate==0.6) (1.0.4) Requirement already satisfied: MarkupSafe>=0.9.2 in /anaconda3/lib/python3.7/site-packages (from Mako->alembic>=0.6.2->dataset>=0.8->chocolate==0.6) (1.1.0) Building wheels for collected packages: chocolate Running setup.py bdist_wheel for chocolate ... error Complete output from command /anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5/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 /private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-wheel-xqs95re1 --python-tag cp37: running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/space.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/base.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate creating build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation copying chocolate/crossvalidation/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation copying chocolate/crossvalidation/repeat.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation creating build/lib.macosx-10.7-x86_64-3.7/chocolate/mo copying chocolate/mo/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/mo copying chocolate/mo/pyhv.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/mo creating build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional copying chocolate/conditional/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional copying chocolate/conditional/thompson.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional creating build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/pandas.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/splitter.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/mongodb.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/sqlite.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection creating build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/kernels.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/bayes.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/cmaes.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search creating build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/grid.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/quasirandom.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/random.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample running build_ext building 'chocolate.mo.hv' extension creating build/temp.macosx-10.7-x86_64-3.7 creating build/temp.macosx-10.7-x86_64-3.7/chocolate creating build/temp.macosx-10.7-x86_64-3.7/chocolate/mo gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.7m -c chocolate/mo/_hv.c -o build/temp.macosx-10.7-x86_64-3.7/chocolate/mo/_hv.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.7m -c chocolate/mo/hv.cpp -o build/temp.macosx-10.7-x86_64-3.7/chocolate/mo/hv.o warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] chocolate/mo/hv.cpp:24:10: fatal error: 'cstdlib' file not found
include
1 warning and 1 error generated. error: command 'gcc' failed with exit status 1
Failed building wheel for chocolate Running setup.py clean for chocolate Failed to build chocolate Installing collected packages: chocolate Running setup.py install for chocolate ... error Complete output from command /anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5/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/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-record-_571vfdr/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.macosx-10.7-x86_64-3.7 creating build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/space.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate copying chocolate/base.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate creating build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation copying chocolate/crossvalidation/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation copying chocolate/crossvalidation/repeat.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/crossvalidation creating build/lib.macosx-10.7-x86_64-3.7/chocolate/mo copying chocolate/mo/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/mo copying chocolate/mo/pyhv.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/mo creating build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional copying chocolate/conditional/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional copying chocolate/conditional/thompson.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/conditional creating build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/pandas.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/splitter.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/mongodb.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection copying chocolate/connection/sqlite.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/connection creating build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/kernels.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/bayes.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search copying chocolate/search/cmaes.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/search creating build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/grid.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/quasirandom.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/init.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample copying chocolate/sample/random.py -> build/lib.macosx-10.7-x86_64-3.7/chocolate/sample running build_ext building 'chocolate.mo.hv' extension creating build/temp.macosx-10.7-x86_64-3.7 creating build/temp.macosx-10.7-x86_64-3.7/chocolate creating build/temp.macosx-10.7-x86_64-3.7/chocolate/mo gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.7m -c chocolate/mo/_hv.c -o build/temp.macosx-10.7-x86_64-3.7/chocolate/mo/_hv.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.7m -c chocolate/mo/hv.cpp -o build/temp.macosx-10.7-x86_64-3.7/chocolate/mo/hv.o warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] chocolate/mo/hv.cpp:24:10: fatal error: 'cstdlib' file not found
include
Command "/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5/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/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-record-_571vfdr/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/1c/ndcpjn5n45l9zk0wg6kq_9jw0000gp/T/pip-req-build-35jovqz5/