fuel
fuel copied to clipboard
Installation setup.py error on Mac
Thanks for making this great package!
MacOS High Sierra 10.13.6 Seems like requirements are already satisfied... Error message attached below.
pip3 install git+git://github.com/mila-udem/fuel.git@stable Collecting git+git://github.com/mila-udem/fuel.git@stable Cloning git://github.com/mila-udem/fuel.git (to revision stable) to /private/var/folders/yq/kdlw2hrj4yj51k2tnm32lqr00000gn/T/pip-req-build-oi3u35o2 Requirement already satisfied: numpy in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (1.15.0) Requirement already satisfied: six in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (1.11.0) Requirement already satisfied: picklable_itertools in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (0.1.1) Requirement already satisfied: pyyaml in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (3.13) Requirement already satisfied: h5py in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (2.8.0) Requirement already satisfied: tables in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (3.4.4) Requirement already satisfied: progressbar2 in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (3.38.0) Requirement already satisfied: pyzmq in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (17.1.0) Requirement already satisfied: scipy in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (1.1.0) Requirement already satisfied: pillow in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (5.2.0) Requirement already satisfied: requests in /usr/local/lib/python3.7/site-packages (from fuel==0.2.0) (2.19.1) Requirement already satisfied: numexpr>=2.5.2 in /usr/local/lib/python3.7/site-packages (from tables->fuel==0.2.0) (2.6.6) Requirement already satisfied: python-utils>=2.3.0 in /usr/local/lib/python3.7/site-packages (from progressbar2->fuel==0.2.0) (2.3.0) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/site-packages (from requests->fuel==0.2.0) (2018.4.16) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests->fuel==0.2.0) (3.0.4) Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python3.7/site-packages (from requests->fuel==0.2.0) (2.7) Requirement already satisfied: urllib3<1.24,>=1.21.1 in /usr/local/lib/python3.7/site-packages (from requests->fuel==0.2.0) (1.23) Building wheels for collected packages: fuel Running setup.py bdist_wheel for fuel ... error Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/yq/kdlw2hrj4yj51k2tnm32lqr00000gn/T/pip-req-build-oi3u35o2/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/yq/kdlw2hrj4yj51k2tnm32lqr00000gn/T/pip-wheel-i97vo7m4 --python-tag cp37: running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.13-x86_64-3.7 creating build/lib.macosx-10.13-x86_64-3.7/doctests copying doctests/init.py -> build/lib.macosx-10.13-x86_64-3.7/doctests creating build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/server.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/streams.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/version.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/config_parser.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/iterator.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/schemes.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/exceptions.py -> build/lib.macosx-10.13-x86_64-3.7/fuel creating build/lib.macosx-10.13-x86_64-3.7/fuel/bin copying fuel/bin/fuel_convert.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/bin copying fuel/bin/fuel_download.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/bin copying fuel/bin/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/bin copying fuel/bin/fuel_info.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/bin creating build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/cifar100.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/dogs_vs_cats.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/adult.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/imagenet.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/hdf5.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/svhn.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/caltech101_silhouettes.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/celeba.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/billion.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/youtube_audio.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/iris.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/text.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/cifar10.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/toy.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/binarized_mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/base.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets creating build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/cifar100.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/dogs_vs_cats.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/adult.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/svhn.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/caltech101_silhouettes.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/ilsvrc2010.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/celeba.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/youtube_audio.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/iris.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/cifar10.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/binarized_mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/base.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters creating build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/cifar100.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/dogs_vs_cats.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/adult.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/svhn.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/caltech101_silhouettes.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/ilsvrc2010.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/celeba.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/youtube_audio.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/iris.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/cifar10.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/binarized_mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/base.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders creating build/lib.macosx-10.13-x86_64-3.7/fuel/utils copying fuel/utils/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/utils copying fuel/utils/formats.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/utils copying fuel/utils/parallel.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/utils creating build/lib.macosx-10.13-x86_64-3.7/fuel/transformers copying fuel/transformers/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/transformers copying fuel/transformers/text.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/transformers copying fuel/transformers/defaults.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/transformers copying fuel/transformers/image.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/transformers creating build/lib.macosx-10.13-x86_64-3.7/tests creating build/lib.macosx-10.13-x86_64-3.7/tests/converters copying tests/converters/test_convert_ilsvrc2010.py -> build/lib.macosx-10.13-x86_64-3.7/tests/converters copying tests/converters/init.py -> build/lib.macosx-10.13-x86_64-3.7/tests/converters creating build/lib.macosx-10.13-x86_64-3.7/tests/transformers copying tests/transformers/test_image.py -> build/lib.macosx-10.13-x86_64-3.7/tests/transformers copying tests/transformers/init.py -> build/lib.macosx-10.13-x86_64-3.7/tests/transformers copying tests/transformers/test_transformers.py -> build/lib.macosx-10.13-x86_64-3.7/tests/transformers running build_ext building 'fuel.transformers._image' extension creating build/temp.macosx-10.13-x86_64-3.7 creating build/temp.macosx-10.13-x86_64-3.7/fuel creating build/temp.macosx-10.13-x86_64-3.7/fuel/transformers clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c fuel/transformers/_image.c -o build/temp.macosx-10.13-x86_64-3.7/fuel/transformers/_image.o -Wno-unused-function fuel/transformers/_image.c:2044:142: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:2036:141: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyList_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:2420:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:2420:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ /* DISABLES CODE / ( ) fuel/transformers/_image.c:2419:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:2418:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2359:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:2359:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2358:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:2357:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2265:21: warning: code will never be executed [-Wunreachable-code] if (1 == 0) abort(); ^~~~~ fuel/transformers/_image.c:2265:13: note: silence by adding parentheses to mark code as explicitly dead if (1 == 0) abort(); ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2927:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:2927:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2926:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:2925:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2866:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:2866:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2865:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:2864:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2772:21: warning: code will never be executed [-Wunreachable-code] if (1 == 0) abort(); ^~~~~ fuel/transformers/_image.c:2772:13: note: silence by adding parentheses to mark code as explicitly dead if (1 == 0) abort(); ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3434:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:3434:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3433:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:3432:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3373:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:3373:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3372:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:3371:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3279:21: warning: code will never be executed [-Wunreachable-code] if (1 == 0) abort(); ^~~~~ fuel/transformers/_image.c:3279:13: note: silence by adding parentheses to mark code as explicitly dead if (1 == 0) abort(); ^ / DISABLES CODE */ ( ) fuel/transformers/_image.c:4081:134: warning: code will never be executed [-Wunreachable-code] __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 147; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:6058:138: warning: code will never be executed [-Wunreachable-code] __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 352; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:6050:137: warning: code will never be executed [-Wunreachable-code] __pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 352; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:9591:138: warning: code will never be executed [-Wunreachable-code] __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 637; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:9583:137: warning: code will never be executed [-Wunreachable-code] __pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 637; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:10208:138: warning: code will never be executed [-Wunreachable-code] __pyx_t_9 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 704; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:10200:137: warning: code will never be executed [-Wunreachable-code] __pyx_t_9 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 704; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:16850:21: error: no member named 'exc_type' in 'struct _ts' *type = tstate->exc_type; ~~~~~~ ^ fuel/transformers/_image.c:16851:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? *value = tstate->exc_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16852:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? *tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:16864:24: error: no member named 'exc_type' in 'struct _ts' tmp_type = tstate->exc_type; ~~~~~~ ^ fuel/transformers/_image.c:16865:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16866:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:16867:13: error: no member named 'exc_type' in 'struct _ts' tstate->exc_type = type; ~~~~~~ ^ fuel/transformers/_image.c:16868:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tstate->exc_value = value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16869:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tstate->exc_traceback = tb; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:16912:24: error: no member named 'exc_type' in 'struct _ts' tmp_type = tstate->exc_type; ~~~~~~ ^ fuel/transformers/_image.c:16913:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16914:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:16915:13: error: no member named 'exc_type' in 'struct _ts' tstate->exc_type = local_type; ~~~~~~ ^ fuel/transformers/_image.c:16916:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tstate->exc_value = local_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16917:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tstate->exc_traceback = local_tb; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:18457:24: error: no member named 'exc_type' in 'struct _ts' tmp_type = tstate->exc_type; ~~~~~~ ^ fuel/transformers/_image.c:18458:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:18459:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:18460:13: error: no member named 'exc_type' in 'struct _ts' tstate->exc_type = *type; ~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 24 warnings and 20 errors generated. error: command 'clang' failed with exit status 1
Failed building wheel for fuel Running setup.py clean for fuel Failed to build fuel Installing collected packages: fuel Running setup.py install for fuel ... error Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/yq/kdlw2hrj4yj51k2tnm32lqr00000gn/T/pip-req-build-oi3u35o2/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/yq/kdlw2hrj4yj51k2tnm32lqr00000gn/T/pip-record-bdyxnrmh/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.macosx-10.13-x86_64-3.7 creating build/lib.macosx-10.13-x86_64-3.7/doctests copying doctests/init.py -> build/lib.macosx-10.13-x86_64-3.7/doctests creating build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/server.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/streams.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/version.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/config_parser.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/iterator.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/schemes.py -> build/lib.macosx-10.13-x86_64-3.7/fuel copying fuel/exceptions.py -> build/lib.macosx-10.13-x86_64-3.7/fuel creating build/lib.macosx-10.13-x86_64-3.7/fuel/bin copying fuel/bin/fuel_convert.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/bin copying fuel/bin/fuel_download.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/bin copying fuel/bin/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/bin copying fuel/bin/fuel_info.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/bin creating build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/cifar100.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/dogs_vs_cats.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/adult.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/imagenet.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/hdf5.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/svhn.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/caltech101_silhouettes.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/celeba.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/billion.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/youtube_audio.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/iris.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/text.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/cifar10.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/toy.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/binarized_mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/base.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets copying fuel/datasets/mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/datasets creating build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/cifar100.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/dogs_vs_cats.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/adult.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/svhn.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/caltech101_silhouettes.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/ilsvrc2010.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/celeba.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/youtube_audio.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/iris.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/cifar10.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/binarized_mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/base.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters copying fuel/converters/mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/converters creating build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/cifar100.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/dogs_vs_cats.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/adult.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/svhn.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/caltech101_silhouettes.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/ilsvrc2010.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/celeba.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/youtube_audio.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/iris.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/cifar10.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/binarized_mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/base.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders copying fuel/downloaders/mnist.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/downloaders creating build/lib.macosx-10.13-x86_64-3.7/fuel/utils copying fuel/utils/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/utils copying fuel/utils/formats.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/utils copying fuel/utils/parallel.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/utils creating build/lib.macosx-10.13-x86_64-3.7/fuel/transformers copying fuel/transformers/init.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/transformers copying fuel/transformers/text.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/transformers copying fuel/transformers/defaults.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/transformers copying fuel/transformers/image.py -> build/lib.macosx-10.13-x86_64-3.7/fuel/transformers creating build/lib.macosx-10.13-x86_64-3.7/tests creating build/lib.macosx-10.13-x86_64-3.7/tests/converters copying tests/converters/test_convert_ilsvrc2010.py -> build/lib.macosx-10.13-x86_64-3.7/tests/converters copying tests/converters/init.py -> build/lib.macosx-10.13-x86_64-3.7/tests/converters creating build/lib.macosx-10.13-x86_64-3.7/tests/transformers copying tests/transformers/test_image.py -> build/lib.macosx-10.13-x86_64-3.7/tests/transformers copying tests/transformers/init.py -> build/lib.macosx-10.13-x86_64-3.7/tests/transformers copying tests/transformers/test_transformers.py -> build/lib.macosx-10.13-x86_64-3.7/tests/transformers running build_ext building 'fuel.transformers._image' extension creating build/temp.macosx-10.13-x86_64-3.7 creating build/temp.macosx-10.13-x86_64-3.7/fuel creating build/temp.macosx-10.13-x86_64-3.7/fuel/transformers clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c fuel/transformers/_image.c -o build/temp.macosx-10.13-x86_64-3.7/fuel/transformers/_image.o -Wno-unused-function fuel/transformers/_image.c:2044:142: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:2036:141: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyList_GET_ITEM(__pyx_t_9, __pyx_t_14); __Pyx_INCREF(__pyx_t_1); __pyx_t_14++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:2420:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:2420:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ /* DISABLES CODE / ( ) fuel/transformers/_image.c:2419:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:2418:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2359:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:2359:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2358:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:2357:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2265:21: warning: code will never be executed [-Wunreachable-code] if (1 == 0) abort(); ^~~~~ fuel/transformers/_image.c:2265:13: note: silence by adding parentheses to mark code as explicitly dead if (1 == 0) abort(); ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2927:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:2927:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2926:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:2925:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2866:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:2866:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2865:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:2864:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:2772:21: warning: code will never be executed [-Wunreachable-code] if (1 == 0) abort(); ^~~~~ fuel/transformers/_image.c:2772:13: note: silence by adding parentheses to mark code as explicitly dead if (1 == 0) abort(); ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3434:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:3434:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3433:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:3432:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3373:15: warning: code will never be executed [-Wunreachable-code] if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^~~~~~~~~~~~~ fuel/transformers/_image.c:3373:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) { ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3372:9: warning: code will never be executed [-Wunreachable-code] __pyx_tmp_idx += __pyx_tmp_shape; ^~~~~~~~~~~~~ fuel/transformers/_image.c:3371:9: note: silence by adding parentheses to mark code as explicitly dead if (0 && (__pyx_tmp_idx < 0)) ^ / DISABLES CODE / ( ) fuel/transformers/_image.c:3279:21: warning: code will never be executed [-Wunreachable-code] if (1 == 0) abort(); ^~~~~ fuel/transformers/_image.c:3279:13: note: silence by adding parentheses to mark code as explicitly dead if (1 == 0) abort(); ^ / DISABLES CODE */ ( ) fuel/transformers/_image.c:4081:134: warning: code will never be executed [-Wunreachable-code] __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 147; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:6058:138: warning: code will never be executed [-Wunreachable-code] __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 352; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:6050:137: warning: code will never be executed [-Wunreachable-code] __pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 352; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:9591:138: warning: code will never be executed [-Wunreachable-code] __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 637; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:9583:137: warning: code will never be executed [-Wunreachable-code] __pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 637; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:10208:138: warning: code will never be executed [-Wunreachable-code] __pyx_t_9 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 704; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:10200:137: warning: code will never be executed [-Wunreachable-code] __pyx_t_9 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 704; __pyx_clineno = LINE; goto __pyx_L1_error;} ^~~~~~~ fuel/transformers/_image.c:16850:21: error: no member named 'exc_type' in 'struct _ts' *type = tstate->exc_type; ~~~~~~ ^ fuel/transformers/_image.c:16851:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? *value = tstate->exc_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16852:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? *tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:16864:24: error: no member named 'exc_type' in 'struct _ts' tmp_type = tstate->exc_type; ~~~~~~ ^ fuel/transformers/_image.c:16865:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16866:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:16867:13: error: no member named 'exc_type' in 'struct _ts' tstate->exc_type = type; ~~~~~~ ^ fuel/transformers/_image.c:16868:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tstate->exc_value = value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16869:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tstate->exc_traceback = tb; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:16912:24: error: no member named 'exc_type' in 'struct _ts' tmp_type = tstate->exc_type; ~~~~~~ ^ fuel/transformers/_image.c:16913:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16914:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:16915:13: error: no member named 'exc_type' in 'struct _ts' tstate->exc_type = local_type; ~~~~~~ ^ fuel/transformers/_image.c:16916:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tstate->exc_value = local_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:16917:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tstate->exc_traceback = local_tb; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:18457:24: error: no member named 'exc_type' in 'struct _ts' tmp_type = tstate->exc_type; ~~~~~~ ^ fuel/transformers/_image.c:18458:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ fuel/transformers/_image.c:18459:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ fuel/transformers/_image.c:18460:13: error: no member named 'exc_type' in 'struct _ts' tstate->exc_type = *type; ~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 24 warnings and 20 errors generated. error: command 'clang' failed with exit status 1
----------------------------------------
Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;file='/private/var/folders/yq/kdlw2hrj4yj51k2tnm32lqr00000gn/T/pip-req-build-oi3u35o2/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/yq/kdlw2hrj4yj51k2tnm32lqr00000gn/T/pip-record-bdyxnrmh/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/yq/kdlw2hrj4yj51k2tnm32lqr00000gn/T/pip-req-build-oi3u35o2/
It is a compilation error for ImageNet transformer. It was tested on python3.6, try to downgrade your python.