Open RichoMelbDs opened 3 years ago
Hi All, ive run into an issue when trying to install. Can one of you please assist?
Thanks!
(minimal_ds_2) richardyang@richarddeMacBook-Pro libact % sudo pip install libact DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support WARNING: The directory '/Users/richardyang/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting libact Downloading libact-0.1.6.tar.gz (118 kB) |████████████████████████████████| 118 kB 6.0 MB/s Requirement already satisfied: setuptools in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (44.0.0.post20200102) Requirement already satisfied: numpy in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (1.15.4) Requirement already satisfied: scipy in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (1.2.1) Requirement already satisfied: scikit-learn<=0.19.2 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (0.19.2) Requirement already satisfied: matplotlib in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (2.2.5) Requirement already satisfied: Cython in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (0.29.23) Requirement already satisfied: joblib in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (0.14.1) Requirement already satisfied: backports.functools-lru-cache in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (1.6.1) Requirement already satisfied: six>=1.10 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (1.15.0) Requirement already satisfied: pytz in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (2019.3) Requirement already satisfied: python-dateutil>=2.1 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (2.8.1) Requirement already satisfied: cycler>=0.10 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (0.10.0) Requirement already satisfied: kiwisolver>=1.0.1 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (1.1.0) Requirement already satisfied: subprocess32 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (3.5.4) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (2.4.7) Building wheels for collected packages: libact Building wheel for libact (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-Yjd_ir/libact/setup.py'"'"'; file='"'"'/private/tmp/pip-install-Yjd_ir/libact/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/tmp/pip-wheel-pLSf5g cwd: /private/tmp/pip-install-Yjd_ir/libact/ Complete output (75 lines): Platform Detection: Mac OS X. Link to openblas... Build VarianceReduction... Build HintSVM... running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.6-x86_64-2.7 creating build/lib.macosx-10.6-x86_64-2.7/libact copying libact/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact creating build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/interfaces.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/dataset.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base creating build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/perceptron.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/sklearn_adapter.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/logistic_regression.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/svm.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models creating build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/binary_relevance.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/dummy_clf.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel creating build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/ideal_labeler.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/interactive_labeler.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/random_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/hintsvm.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/quire.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/active_learning_by_learning.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/variance_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/query_by_committee.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/density_weighted_meta.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/density_weighted_uncertainty_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/uncertainty_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/cost_sensitive_reference_pair_encoding.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/maximum_margin_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/binary_minimization.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/multilabel_with_auxiliary_learner.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/adaptive_active_learning.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/expected_error_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/mdsp.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/active_learning_with_cost_embedding.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/hierarchical_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass creating build/lib.macosx-10.6-x86_64-2.7/libact/utils copying libact/utils/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/utils running build_ext building 'libact.query_strategies._variance_reduction' extension C compiler: gcc -fno-strict-aliasing -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
creating build/temp.macosx-10.6-x86_64-2.7 creating build/temp.macosx-10.6-x86_64-2.7/libact creating build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies creating build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies/src creating build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies/src/variance_reduction compile options: '-I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages/numpy/core/include -I/opt/local/include -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include/python2.7 -c' extra options: '-std=c11' gcc: libact/query_strategies/src/variance_reduction/variance_reduction.c libact/query_strategies/src/variance_reduction/variance_reduction.c:5:10: fatal error: 'lapacke.h' file not found
^~~~~~~~~~~
1 error generated. libact/query_strategies/src/variance_reduction/variance_reduction.c:5:10: fatal error: 'lapacke.h' file not found
ERROR: Failed building wheel for libact Running setup.py clean for libact Failed to build libact Installing collected packages: libact Running setup.py install for libact ... error ERROR: Command errored out with exit status 1: command: /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-Yjd_ir/libact/setup.py'"'"'; file='"'"'/private/tmp/pip-install-Yjd_ir/libact/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/tmp/pip-record-uSORrJ/install-record.txt --single-version-externally-managed --compile --install-headers /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include/python2.7/libact cwd: /private/tmp/pip-install-Yjd_ir/libact/ Complete output (75 lines): Platform Detection: Mac OS X. Link to openblas... Build VarianceReduction... Build HintSVM... running install running build running build_py creating build creating build/lib.macosx-10.6-x86_64-2.7 creating build/lib.macosx-10.6-x86_64-2.7/libact copying libact/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact creating build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/interfaces.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/dataset.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base creating build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/perceptron.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/sklearn_adapter.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/logistic_regression.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/svm.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models creating build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/binary_relevance.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/dummy_clf.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel creating build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/ideal_labeler.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/interactive_labeler.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/random_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/hintsvm.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/quire.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/active_learning_by_learning.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/variance_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/query_by_committee.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/density_weighted_meta.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/density_weighted_uncertainty_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/uncertainty_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/cost_sensitive_reference_pair_encoding.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/maximum_margin_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/binary_minimization.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/multilabel_with_auxiliary_learner.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/adaptive_active_learning.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/expected_error_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/mdsp.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/active_learning_with_cost_embedding.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/hierarchical_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass creating build/lib.macosx-10.6-x86_64-2.7/libact/utils copying libact/utils/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/utils running build_ext building 'libact.query_strategies._variance_reduction' extension C compiler: gcc -fno-strict-aliasing -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
creating build/temp.macosx-10.6-x86_64-2.7 creating build/temp.macosx-10.6-x86_64-2.7/libact creating build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies creating build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies/src creating build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies/src/variance_reduction compile options: '-I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages/numpy/core/include -I/opt/local/include -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include/python2.7 -c' extra options: '-std=c11' gcc: libact/query_strategies/src/variance_reduction/variance_reduction.c libact/query_strategies/src/variance_reduction/variance_reduction.c:5:10: fatal error: 'lapacke.h' file not found #include <lapacke.h> ^~~~~~~~~~~ 1 error generated. libact/query_strategies/src/variance_reduction/variance_reduction.c:5:10: fatal error: 'lapacke.h' file not found #include <lapacke.h> ^~~~~~~~~~~ 1 error generated. error: Command "gcc -fno-strict-aliasing -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages/numpy/core/include -I/opt/local/include -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include/python2.7 -c libact/query_strategies/src/variance_reduction/variance_reduction.c -o build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies/src/variance_reduction/variance_reduction.o -std=c11" failed with exit status 1 ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-Yjd_ir/libact/setup.py'"'"'; file='"'"'/private/tmp/pip-install-Yjd_ir/libact/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/tmp/pip-record-uSORrJ/install-record.txt --single-version-externally-managed --compile --install-headers /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include/python2.7/libact Check the logs for full command output.
Could you try to install openblas with brew install openblas and check if lapacke.h is in your PATH?
brew install openblas
thanks for the response. I found a way! :D
Hello, What was your solution to this?
Hi All, ive run into an issue when trying to install. Can one of you please assist?
Thanks!
(minimal_ds_2) richardyang@richarddeMacBook-Pro libact % sudo pip install libact
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support WARNING: The directory '/Users/richardyang/Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting libact Downloading libact-0.1.6.tar.gz (118 kB) |████████████████████████████████| 118 kB 6.0 MB/s Requirement already satisfied: setuptools in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (44.0.0.post20200102) Requirement already satisfied: numpy in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (1.15.4) Requirement already satisfied: scipy in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (1.2.1) Requirement already satisfied: scikit-learn<=0.19.2 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (0.19.2) Requirement already satisfied: matplotlib in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (2.2.5) Requirement already satisfied: Cython in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (0.29.23) Requirement already satisfied: joblib in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from libact) (0.14.1) Requirement already satisfied: backports.functools-lru-cache in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (1.6.1) Requirement already satisfied: six>=1.10 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (1.15.0) Requirement already satisfied: pytz in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (2019.3) Requirement already satisfied: python-dateutil>=2.1 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (2.8.1) Requirement already satisfied: cycler>=0.10 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (0.10.0) Requirement already satisfied: kiwisolver>=1.0.1 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (1.1.0) Requirement already satisfied: subprocess32 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (3.5.4) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages (from matplotlib->libact) (2.4.7) Building wheels for collected packages: libact Building wheel for libact (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-Yjd_ir/libact/setup.py'"'"'; file='"'"'/private/tmp/pip-install-Yjd_ir/libact/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/tmp/pip-wheel-pLSf5g cwd: /private/tmp/pip-install-Yjd_ir/libact/ Complete output (75 lines): Platform Detection: Mac OS X. Link to openblas... Build VarianceReduction... Build HintSVM... running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.6-x86_64-2.7 creating build/lib.macosx-10.6-x86_64-2.7/libact copying libact/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact creating build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/interfaces.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/dataset.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base creating build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/perceptron.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/sklearn_adapter.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/logistic_regression.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/svm.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models creating build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/binary_relevance.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/dummy_clf.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel creating build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/ideal_labeler.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/interactive_labeler.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/random_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/hintsvm.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/quire.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/active_learning_by_learning.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/variance_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/query_by_committee.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/density_weighted_meta.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/density_weighted_uncertainty_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/uncertainty_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/cost_sensitive_reference_pair_encoding.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/maximum_margin_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/binary_minimization.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/multilabel_with_auxiliary_learner.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/adaptive_active_learning.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/expected_error_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/mdsp.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/active_learning_with_cost_embedding.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/hierarchical_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass creating build/lib.macosx-10.6-x86_64-2.7/libact/utils copying libact/utils/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/utils running build_ext building 'libact.query_strategies._variance_reduction' extension C compiler: gcc -fno-strict-aliasing -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
creating build/temp.macosx-10.6-x86_64-2.7 creating build/temp.macosx-10.6-x86_64-2.7/libact creating build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies creating build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies/src creating build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies/src/variance_reduction compile options: '-I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages/numpy/core/include -I/opt/local/include -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include/python2.7 -c' extra options: '-std=c11' gcc: libact/query_strategies/src/variance_reduction/variance_reduction.c libact/query_strategies/src/variance_reduction/variance_reduction.c:5:10: fatal error: 'lapacke.h' file not found
include
1 error generated. libact/query_strategies/src/variance_reduction/variance_reduction.c:5:10: fatal error: 'lapacke.h' file not found
include
1 error generated. error: Command "gcc -fno-strict-aliasing -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/lib/python2.7/site-packages/numpy/core/include -I/opt/local/include -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include/python2.7 -c libact/query_strategies/src/variance_reduction/variance_reduction.c -o build/temp.macosx-10.6-x86_64-2.7/libact/query_strategies/src/variance_reduction/variance_reduction.o -std=c11" failed with exit status 1
ERROR: Failed building wheel for libact Running setup.py clean for libact Failed to build libact Installing collected packages: libact Running setup.py install for libact ... error ERROR: Command errored out with exit status 1: command: /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-Yjd_ir/libact/setup.py'"'"'; file='"'"'/private/tmp/pip-install-Yjd_ir/libact/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/tmp/pip-record-uSORrJ/install-record.txt --single-version-externally-managed --compile --install-headers /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include/python2.7/libact cwd: /private/tmp/pip-install-Yjd_ir/libact/ Complete output (75 lines): Platform Detection: Mac OS X. Link to openblas... Build VarianceReduction... Build HintSVM... running install running build running build_py creating build creating build/lib.macosx-10.6-x86_64-2.7 creating build/lib.macosx-10.6-x86_64-2.7/libact copying libact/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact creating build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/interfaces.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base copying libact/base/dataset.py -> build/lib.macosx-10.6-x86_64-2.7/libact/base creating build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/perceptron.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/sklearn_adapter.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/logistic_regression.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models copying libact/models/svm.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models creating build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/binary_relevance.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel copying libact/models/multilabel/dummy_clf.py -> build/lib.macosx-10.6-x86_64-2.7/libact/models/multilabel creating build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/ideal_labeler.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers copying libact/labelers/interactive_labeler.py -> build/lib.macosx-10.6-x86_64-2.7/libact/labelers creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/random_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/hintsvm.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/quire.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/active_learning_by_learning.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/variance_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/query_by_committee.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/density_weighted_meta.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/density_weighted_uncertainty_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies copying libact/query_strategies/uncertainty_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/cost_sensitive_reference_pair_encoding.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/maximum_margin_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/binary_minimization.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/multilabel_with_auxiliary_learner.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel copying libact/query_strategies/multilabel/adaptive_active_learning.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multilabel creating build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/expected_error_reduction.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/mdsp.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/active_learning_with_cost_embedding.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass copying libact/query_strategies/multiclass/hierarchical_sampling.py -> build/lib.macosx-10.6-x86_64-2.7/libact/query_strategies/multiclass creating build/lib.macosx-10.6-x86_64-2.7/libact/utils copying libact/utils/init.py -> build/lib.macosx-10.6-x86_64-2.7/libact/utils running build_ext building 'libact.query_strategies._variance_reduction' extension C compiler: gcc -fno-strict-aliasing -I/Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
ERROR: Command errored out with exit status 1: /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-Yjd_ir/libact/setup.py'"'"'; file='"'"'/private/tmp/pip-install-Yjd_ir/libact/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/tmp/pip-record-uSORrJ/install-record.txt --single-version-externally-managed --compile --install-headers /Users/richardyang/opt/miniconda3/envs/minimal_ds_2/include/python2.7/libact Check the logs for full command output.