You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
Looking in indexes: http://pypi.douban.com/simple
Processing ./sklearn-contrib-lightning-0.5.0.tar.gz
Building wheels for collected packages: sklearn-contrib-lightning
Building wheel for sklearn-contrib-lightning (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/setup.py'"'"'; file='"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/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/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-wheel-d6izjxyt
cwd: /private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/
Complete output (203 lines):
Warning: Assuming default configuration (lightning/impl/datasets/{setup_datasets,setup}.py was not found)
Appending lightning.impl.datasets configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.datasets')
Warning: Assuming default configuration (lightning/impl/randomkit/tests/{setup_tests,setup}.py was not found)
Appending lightning.impl.randomkit.tests configuration to lightning.impl.randomkit
Ignoring attempt to set 'name' (from 'lightning.impl.randomkit' to 'lightning.impl.randomkit.tests')
Appending lightning.impl.randomkit configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.randomkit')
Warning: Assuming default configuration (lightning/impl/tests/{setup_tests,setup}.py was not found)
Appending lightning.impl.tests configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.tests')
Appending lightning.impl configuration to lightning
Ignoring attempt to set 'name' (from 'lightning' to 'lightning.impl')
Appending lightning configuration to
Ignoring attempt to set 'name' (from '' to 'lightning')
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "lightning.impl.adagrad_fast" sources
building extension "lightning.impl.dataset_fast" sources
building extension "lightning.impl.dual_cd_fast" sources
building extension "lightning.impl.loss_fast" sources
building extension "lightning.impl.prank_fast" sources
building extension "lightning.impl.primal_cd_fast" sources
building extension "lightning.impl.prox_fast" sources
building extension "lightning.impl.sag_fast" sources
building extension "lightning.impl.sdca_fast" sources
building extension "lightning.impl.sgd_fast" sources
building extension "lightning.impl.svrg_fast" sources
building extension "lightning.impl.randomkit.random_fast" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.7
creating build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/regression.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/classification.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/datasets.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/init.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/ranking.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/_build_utils.py -> build/lib.macosx-10.6-intel-3.7/lightning
creating build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/svrg.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/fista.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sgd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/primal_newton.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/primal_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/penalty.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/adagrad.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sag.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sdca.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/dual_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/prank.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/base.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/samples_generator.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/loaders.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/utils.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
copying lightning/impl/randomkit/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
copying lightning/impl/randomkit/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
copying lightning/impl/randomkit/tests/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
copying lightning/impl/randomkit/tests/test_random.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sgd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_svrg.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_primal_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_primal_newton.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_prank.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sdca.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/utils.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_dataset.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_adagrad.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_penalty.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_fista.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sag.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_prox.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_dual_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'lightning.impl.adagrad_fast' extension
compiling C++ sources
C compiler: g++ -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g
creating build/temp.macosx-10.6-intel-3.7/lightning
creating build/temp.macosx-10.6-intel-3.7/lightning/impl
compile options: '-I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/lightning/impl/randomkit -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
g++: lightning/impl/adagrad_fast.cpp
In file included from lightning/impl/adagrad_fast.cpp:466:
In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
lightning/impl/adagrad_fast.cpp:7284:65: error: too many arguments to function call, expected 3, have 4
return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/stddef.h:84:18: note: expanded from macro 'NULL'
define NULL __null
^~~~~~
lightning/impl/adagrad_fast.cpp:7656:21: error: no member named 'exc_type' in '_ts'
*type = tstate->exc_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7657:22: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7658:19: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7665:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7666:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7667:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7668:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7669:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7670:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7725:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7726:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7727:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7728:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = local_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7729:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7730:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
1 warning and 16 errors generated.
error: Command "g++ -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/lightning/impl/randomkit -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lightning/impl/adagrad_fast.cpp -o build/temp.macosx-10.6-intel-3.7/lightning/impl/adagrad_fast.o -MMD -MF build/temp.macosx-10.6-intel-3.7/lightning/impl/adagrad_fast.o.d" failed with exit status 1
ERROR: Failed building wheel for sklearn-contrib-lightning
Running setup.py clean for sklearn-contrib-lightning
Failed to build sklearn-contrib-lightning
Installing collected packages: sklearn-contrib-lightning
Running setup.py install for sklearn-contrib-lightning ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/setup.py'"'"'; file='"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/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/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-record-lzkczj49/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/sklearn-contrib-lightning
cwd: /private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/
Complete output (203 lines):
Warning: Assuming default configuration (lightning/impl/datasets/{setup_datasets,setup}.py was not found)
Appending lightning.impl.datasets configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.datasets')
Warning: Assuming default configuration (lightning/impl/randomkit/tests/{setup_tests,setup}.py was not found)
Appending lightning.impl.randomkit.tests configuration to lightning.impl.randomkit
Ignoring attempt to set 'name' (from 'lightning.impl.randomkit' to 'lightning.impl.randomkit.tests')
Appending lightning.impl.randomkit configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.randomkit')
Warning: Assuming default configuration (lightning/impl/tests/{setup_tests,setup}.py was not found)
Appending lightning.impl.tests configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.tests')
Appending lightning.impl configuration to lightning
Ignoring attempt to set 'name' (from 'lightning' to 'lightning.impl')
Appending lightning configuration to
Ignoring attempt to set 'name' (from '' to 'lightning')
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "lightning.impl.adagrad_fast" sources
building extension "lightning.impl.dataset_fast" sources
building extension "lightning.impl.dual_cd_fast" sources
building extension "lightning.impl.loss_fast" sources
building extension "lightning.impl.prank_fast" sources
building extension "lightning.impl.primal_cd_fast" sources
building extension "lightning.impl.prox_fast" sources
building extension "lightning.impl.sag_fast" sources
building extension "lightning.impl.sdca_fast" sources
building extension "lightning.impl.sgd_fast" sources
building extension "lightning.impl.svrg_fast" sources
building extension "lightning.impl.randomkit.random_fast" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.7
creating build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/regression.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/classification.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/datasets.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/init.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/ranking.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/_build_utils.py -> build/lib.macosx-10.6-intel-3.7/lightning
creating build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/svrg.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/fista.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sgd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/primal_newton.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/primal_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/penalty.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/adagrad.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sag.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sdca.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/dual_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/prank.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/base.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/samples_generator.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/loaders.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/utils.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
copying lightning/impl/randomkit/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
copying lightning/impl/randomkit/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
copying lightning/impl/randomkit/tests/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
copying lightning/impl/randomkit/tests/test_random.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sgd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_svrg.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_primal_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_primal_newton.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_prank.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sdca.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/utils.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_dataset.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_adagrad.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_penalty.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_fista.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sag.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_prox.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_dual_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'lightning.impl.adagrad_fast' extension
compiling C++ sources
C compiler: g++ -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g
creating build/temp.macosx-10.6-intel-3.7/lightning
creating build/temp.macosx-10.6-intel-3.7/lightning/impl
compile options: '-I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/lightning/impl/randomkit -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
g++: lightning/impl/adagrad_fast.cpp
In file included from lightning/impl/adagrad_fast.cpp:466:
In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
lightning/impl/adagrad_fast.cpp:7284:65: error: too many arguments to function call, expected 3, have 4
return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/stddef.h:84:18: note: expanded from macro 'NULL'
# define NULL __null
^~~~~~
lightning/impl/adagrad_fast.cpp:7656:21: error: no member named 'exc_type' in '_ts'
*type = tstate->exc_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7657:22: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7658:19: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7665:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7666:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7667:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7668:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7669:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7670:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7725:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7726:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7727:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7728:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = local_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7729:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7730:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
1 warning and 16 errors generated.
error: Command "g++ -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/lightning/impl/randomkit -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lightning/impl/adagrad_fast.cpp -o build/temp.macosx-10.6-intel-3.7/lightning/impl/adagrad_fast.o -MMD -MF build/temp.macosx-10.6-intel-3.7/lightning/impl/adagrad_fast.o.d" failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/setup.py'"'"'; file='"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/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/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-record-lzkczj49/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/sklearn-contrib-lightning Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
Looking in indexes: http://pypi.douban.com/simple
Processing ./sklearn-contrib-lightning-0.5.0.tar.gz
Building wheels for collected packages: sklearn-contrib-lightning
Building wheel for sklearn-contrib-lightning (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/setup.py'"'"'; file='"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/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/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-wheel-d6izjxyt
cwd: /private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/
Complete output (203 lines):
Warning: Assuming default configuration (lightning/impl/datasets/{setup_datasets,setup}.py was not found)
Appending lightning.impl.datasets configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.datasets')
Warning: Assuming default configuration (lightning/impl/randomkit/tests/{setup_tests,setup}.py was not found)
Appending lightning.impl.randomkit.tests configuration to lightning.impl.randomkit
Ignoring attempt to set 'name' (from 'lightning.impl.randomkit' to 'lightning.impl.randomkit.tests')
Appending lightning.impl.randomkit configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.randomkit')
Warning: Assuming default configuration (lightning/impl/tests/{setup_tests,setup}.py was not found)
Appending lightning.impl.tests configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.tests')
Appending lightning.impl configuration to lightning
Ignoring attempt to set 'name' (from 'lightning' to 'lightning.impl')
Appending lightning configuration to
Ignoring attempt to set 'name' (from '' to 'lightning')
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "lightning.impl.adagrad_fast" sources
building extension "lightning.impl.dataset_fast" sources
building extension "lightning.impl.dual_cd_fast" sources
building extension "lightning.impl.loss_fast" sources
building extension "lightning.impl.prank_fast" sources
building extension "lightning.impl.primal_cd_fast" sources
building extension "lightning.impl.prox_fast" sources
building extension "lightning.impl.sag_fast" sources
building extension "lightning.impl.sdca_fast" sources
building extension "lightning.impl.sgd_fast" sources
building extension "lightning.impl.svrg_fast" sources
building extension "lightning.impl.randomkit.random_fast" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.7
creating build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/regression.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/classification.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/datasets.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/init.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/ranking.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/_build_utils.py -> build/lib.macosx-10.6-intel-3.7/lightning
creating build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/svrg.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/fista.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sgd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/primal_newton.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/primal_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/penalty.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/adagrad.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sag.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sdca.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/dual_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/prank.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/base.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/samples_generator.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/loaders.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/utils.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
copying lightning/impl/randomkit/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
copying lightning/impl/randomkit/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
copying lightning/impl/randomkit/tests/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
copying lightning/impl/randomkit/tests/test_random.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sgd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_svrg.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_primal_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_primal_newton.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_prank.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sdca.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/utils.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_dataset.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_adagrad.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_penalty.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_fista.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sag.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_prox.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_dual_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'lightning.impl.adagrad_fast' extension
compiling C++ sources
C compiler: g++ -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g
creating build/temp.macosx-10.6-intel-3.7/lightning
creating build/temp.macosx-10.6-intel-3.7/lightning/impl
compile options: '-I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/lightning/impl/randomkit -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c'
g++: lightning/impl/adagrad_fast.cpp
In file included from lightning/impl/adagrad_fast.cpp:466:
In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
lightning/impl/adagrad_fast.cpp:7284:65: error: too many arguments to function call, expected 3, have 4
return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/stddef.h:84:18: note: expanded from macro 'NULL'
define NULL __null
lightning/impl/adagrad_fast.cpp:7656:21: error: no member named 'exc_type' in '_ts'
*type = tstate->exc_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7657:22: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7658:19: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7665:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7666:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7667:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7668:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7669:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7670:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7725:24: error: no member named 'exc_type' in '_ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7726:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7727:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
lightning/impl/adagrad_fast.cpp:7728:13: error: no member named 'exc_type' in '_ts'
tstate->exc_type = local_type;
~~~~~~ ^
lightning/impl/adagrad_fast.cpp:7729:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:240:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
lightning/impl/adagrad_fast.cpp:7730:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:241:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
1 warning and 16 errors generated.
error: Command "g++ -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/lightning/impl/randomkit -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lightning/impl/adagrad_fast.cpp -o build/temp.macosx-10.6-intel-3.7/lightning/impl/adagrad_fast.o -MMD -MF build/temp.macosx-10.6-intel-3.7/lightning/impl/adagrad_fast.o.d" failed with exit status 1
ERROR: Failed building wheel for sklearn-contrib-lightning
Running setup.py clean for sklearn-contrib-lightning
Failed to build sklearn-contrib-lightning
Installing collected packages: sklearn-contrib-lightning
Running setup.py install for sklearn-contrib-lightning ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/setup.py'"'"'; file='"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/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/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-record-lzkczj49/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/sklearn-contrib-lightning
cwd: /private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/
Complete output (203 lines):
Warning: Assuming default configuration (lightning/impl/datasets/{setup_datasets,setup}.py was not found)
Appending lightning.impl.datasets configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.datasets')
Warning: Assuming default configuration (lightning/impl/randomkit/tests/{setup_tests,setup}.py was not found)
Appending lightning.impl.randomkit.tests configuration to lightning.impl.randomkit
Ignoring attempt to set 'name' (from 'lightning.impl.randomkit' to 'lightning.impl.randomkit.tests')
Appending lightning.impl.randomkit configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.randomkit')
Warning: Assuming default configuration (lightning/impl/tests/{setup_tests,setup}.py was not found)
Appending lightning.impl.tests configuration to lightning.impl
Ignoring attempt to set 'name' (from 'lightning.impl' to 'lightning.impl.tests')
Appending lightning.impl configuration to lightning
Ignoring attempt to set 'name' (from 'lightning' to 'lightning.impl')
Appending lightning configuration to
Ignoring attempt to set 'name' (from '' to 'lightning')
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building extension "lightning.impl.adagrad_fast" sources
building extension "lightning.impl.dataset_fast" sources
building extension "lightning.impl.dual_cd_fast" sources
building extension "lightning.impl.loss_fast" sources
building extension "lightning.impl.prank_fast" sources
building extension "lightning.impl.primal_cd_fast" sources
building extension "lightning.impl.prox_fast" sources
building extension "lightning.impl.sag_fast" sources
building extension "lightning.impl.sdca_fast" sources
building extension "lightning.impl.sgd_fast" sources
building extension "lightning.impl.svrg_fast" sources
building extension "lightning.impl.randomkit.random_fast" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.7
creating build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/regression.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/classification.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/datasets.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/init.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/ranking.py -> build/lib.macosx-10.6-intel-3.7/lightning
copying lightning/_build_utils.py -> build/lib.macosx-10.6-intel-3.7/lightning
creating build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/svrg.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/fista.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sgd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/primal_newton.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/primal_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/penalty.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/adagrad.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sag.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/sdca.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/dual_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/prank.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
copying lightning/impl/base.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/samples_generator.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/loaders.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
copying lightning/impl/datasets/utils.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/datasets
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
copying lightning/impl/randomkit/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
copying lightning/impl/randomkit/setup.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
copying lightning/impl/randomkit/tests/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
copying lightning/impl/randomkit/tests/test_random.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/randomkit/tests
creating build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sgd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_svrg.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_primal_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_primal_newton.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_prank.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/init.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sdca.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/utils.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_dataset.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_adagrad.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_penalty.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_fista.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_sag.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_prox.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
copying lightning/impl/tests/test_dual_cd.py -> build/lib.macosx-10.6-intel-3.7/lightning/impl/tests
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'lightning.impl.adagrad_fast' extension
compiling C++ sources
C compiler: g++ -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/setup.py'"'"'; file='"'"'/private/var/folders/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-req-build-frpjnwin/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/ty/vd3_vm6x087c1vn4b5mmxrq80000gp/T/pip-record-lzkczj49/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m/sklearn-contrib-lightning Check the logs for full command output.
The text was updated successfully, but these errors were encountered: