Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scikit-learn fails to install with python 3.7.0 on macOS 12.13.5 #11378

Closed
mario-grgic opened this issue Jun 28, 2018 · 8 comments
Closed

scikit-learn fails to install with python 3.7.0 on macOS 12.13.5 #11378

mario-grgic opened this issue Jun 28, 2018 · 8 comments

Comments

@mario-grgic
Copy link

mario-grgic commented Jun 28, 2018

Attempted to install scikit-learn with python 3.7.0 ( I have Cython 0.28.3 installed):

$ pip3 install scikit-learn
Collecting scikit-learn
  Downloading https://files.pythonhosted.org/packages/f5/2c/5edf2488897cad4fb8c4ace86369833552615bf264460ae4ef6e1f258982/scikit-learn-0.19.1.tar.gz (9.5MB)
    100% |████████████████████████████████| 9.5MB 5.5MB/s
ipython 6.4.0 has requirement prompt-toolkit<2.0.0,>=1.0.15, but you'll have prompt-toolkit 2.0.3 which is incompatible.
flake8 3.5.0 has requirement pycodestyle<2.4.0,>=2.0.0, but you'll have pycodestyle 2.4.0 which is incompatible.
flake8 3.5.0 has requirement pyflakes<1.7.0,>=1.5.0, but you'll have pyflakes 2.0.0 which is incompatible.
Installing collected packages: scikit-learn
  Running setup.py install for scikit-learn ... error
    Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-qle02ymx/scikit-learn/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-fureu9e8/install-record.txt --single-version-externally-managed --compile:
    Partial import of sklearn during the build process.
    blas_opt_info:
    blas_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/Library/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    blis_info:
    customize UnixCCompiler
      libraries blis not found in ['/Library/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    openblas_info:
    customize UnixCCompiler
    customize UnixCCompiler
      libraries openblas not found in ['/Library/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_3_10_blas_threads_info:
    Setting PTATLAS=ATLAS
    customize UnixCCompiler
      libraries tatlas not found in ['/Library/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_3_10_blas_info:
    customize UnixCCompiler
      libraries satlas not found in ['/Library/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_blas_threads_info:
    Setting PTATLAS=ATLAS
    customize UnixCCompiler
      libraries ptf77blas,ptcblas,atlas not found in ['/Library/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

    atlas_blas_info:
    customize UnixCCompiler
      libraries f77blas,cblas,atlas not found in ['/Library/Frameworks/Python.framework/Versions/3.7/lib', '/usr/local/lib', '/usr/lib']
      NOT AVAILABLE

      FOUND:
        extra_compile_args = ['-msse3', '-I/System/Library/Frameworks/vecLib.framework/Headers']
        extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
        define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]

    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 library "libsvm-skl" sources
    building extension "sklearn.__check_build._check_build" sources
    building extension "sklearn.cluster._dbscan_inner" sources
    building extension "sklearn.cluster._hierarchical" sources
    building extension "sklearn.cluster._k_means_elkan" sources
    building extension "sklearn.cluster._k_means" sources
    building extension "sklearn.datasets._svmlight_format" sources
    building extension "sklearn.decomposition._online_lda" sources
    building extension "sklearn.decomposition.cdnmf_fast" sources
    building extension "sklearn.ensemble._gradient_boosting" sources
    building extension "sklearn.feature_extraction._hashing" sources
    building extension "sklearn.manifold._utils" sources
    building extension "sklearn.manifold._barnes_hut_tsne" sources
    building extension "sklearn.metrics.pairwise_fast" sources
    building extension "sklearn.metrics/cluster.expected_mutual_info_fast" sources
    building extension "sklearn.neighbors.ball_tree" sources
    building extension "sklearn.neighbors.kd_tree" sources
    building extension "sklearn.neighbors.dist_metrics" sources
    building extension "sklearn.neighbors.typedefs" sources
    building extension "sklearn.neighbors.quad_tree" sources
    building extension "sklearn.tree._tree" sources
    building extension "sklearn.tree._splitter" sources
    building extension "sklearn.tree._criterion" sources
    building extension "sklearn.tree._utils" sources
    building extension "sklearn.svm.libsvm" sources
    building extension "sklearn.svm.liblinear" sources
    building extension "sklearn.svm.libsvm_sparse" sources
    building extension "sklearn._isotonic" sources
    building extension "sklearn.linear_model.cd_fast" sources
    building extension "sklearn.linear_model.sgd_fast" sources
    building extension "sklearn.linear_model.sag_fast" sources
    building extension "sklearn.utils.sparsefuncs_fast" sources
    building extension "sklearn.utils.arrayfuncs" sources
    building extension "sklearn.utils.murmurhash" sources
    building extension "sklearn.utils.lgamma" sources
    building extension "sklearn.utils.graph_shortest_path" sources
    building extension "sklearn.utils.fast_dict" sources
    building extension "sklearn.utils.seq_dataset" sources
    building extension "sklearn.utils.weight_vector" sources
    building extension "sklearn.utils._random" sources
    building extension "sklearn.utils._logistic_sigmoid" sources
    building data_files sources
    build_src: building npy-pkg config files
    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/sklearn
    copying sklearn/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/calibration.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/cross_validation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/discriminant_analysis.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/dummy.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/exceptions.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/grid_search.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/isotonic.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/kernel_approximation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/kernel_ridge.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/learning_curve.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/multiclass.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/multioutput.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/naive_bayes.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/pipeline.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/random_projection.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    copying sklearn/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/__check_build
    copying sklearn/__check_build/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/__check_build
    copying sklearn/__check_build/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/__check_build
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/_build_utils
    copying sklearn/_build_utils/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/_build_utils
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance
    copying sklearn/covariance/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance
    copying sklearn/covariance/empirical_covariance_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance
    copying sklearn/covariance/graph_lasso_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance
    copying sklearn/covariance/outlier_detection.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance
    copying sklearn/covariance/robust_covariance.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance
    copying sklearn/covariance/shrunk_covariance_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance/tests
    copying sklearn/covariance/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance/tests
    copying sklearn/covariance/tests/test_covariance.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance/tests
    copying sklearn/covariance/tests/test_graph_lasso.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance/tests
    copying sklearn/covariance/tests/test_robust_covariance.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/covariance/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/cross_decomposition
    copying sklearn/cross_decomposition/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cross_decomposition
    copying sklearn/cross_decomposition/cca_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cross_decomposition
    copying sklearn/cross_decomposition/pls_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cross_decomposition
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/cross_decomposition/tests
    copying sklearn/cross_decomposition/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cross_decomposition/tests
    copying sklearn/cross_decomposition/tests/test_pls.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cross_decomposition/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection
    copying sklearn/feature_selection/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection
    copying sklearn/feature_selection/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection
    copying sklearn/feature_selection/from_model.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection
    copying sklearn/feature_selection/mutual_info_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection
    copying sklearn/feature_selection/rfe.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection
    copying sklearn/feature_selection/univariate_selection.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection
    copying sklearn/feature_selection/variance_threshold.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection/tests
    copying sklearn/feature_selection/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection/tests
    copying sklearn/feature_selection/tests/test_base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection/tests
    copying sklearn/feature_selection/tests/test_chi2.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection/tests
    copying sklearn/feature_selection/tests/test_feature_select.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection/tests
    copying sklearn/feature_selection/tests/test_from_model.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection/tests
    copying sklearn/feature_selection/tests/test_mutual_info.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection/tests
    copying sklearn/feature_selection/tests/test_rfe.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection/tests
    copying sklearn/feature_selection/tests/test_variance_threshold.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_selection/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process
    copying sklearn/gaussian_process/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process
    copying sklearn/gaussian_process/correlation_models.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process
    copying sklearn/gaussian_process/gaussian_process.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process
    copying sklearn/gaussian_process/gpc.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process
    copying sklearn/gaussian_process/gpr.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process
    copying sklearn/gaussian_process/kernels.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process
    copying sklearn/gaussian_process/regression_models.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process/tests
    copying sklearn/gaussian_process/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process/tests
    copying sklearn/gaussian_process/tests/test_gaussian_process.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process/tests
    copying sklearn/gaussian_process/tests/test_gpc.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process/tests
    copying sklearn/gaussian_process/tests/test_gpr.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process/tests
    copying sklearn/gaussian_process/tests/test_kernels.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/gaussian_process/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture
    copying sklearn/mixture/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture
    copying sklearn/mixture/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture
    copying sklearn/mixture/bayesian_mixture.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture
    copying sklearn/mixture/dpgmm.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture
    copying sklearn/mixture/gaussian_mixture.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture
    copying sklearn/mixture/gmm.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture/tests
    copying sklearn/mixture/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture/tests
    copying sklearn/mixture/tests/test_bayesian_mixture.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture/tests
    copying sklearn/mixture/tests/test_dpgmm.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture/tests
    copying sklearn/mixture/tests/test_gaussian_mixture.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture/tests
    copying sklearn/mixture/tests/test_gmm.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/mixture/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection
    copying sklearn/model_selection/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection
    copying sklearn/model_selection/_search.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection
    copying sklearn/model_selection/_split.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection
    copying sklearn/model_selection/_validation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection/tests
    copying sklearn/model_selection/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection/tests
    copying sklearn/model_selection/tests/common.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection/tests
    copying sklearn/model_selection/tests/test_search.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection/tests
    copying sklearn/model_selection/tests/test_split.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection/tests
    copying sklearn/model_selection/tests/test_validation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/model_selection/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network
    copying sklearn/neural_network/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network
    copying sklearn/neural_network/_base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network
    copying sklearn/neural_network/_stochastic_optimizers.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network
    copying sklearn/neural_network/multilayer_perceptron.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network
    copying sklearn/neural_network/rbm.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network/tests
    copying sklearn/neural_network/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network/tests
    copying sklearn/neural_network/tests/test_mlp.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network/tests
    copying sklearn/neural_network/tests/test_rbm.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network/tests
    copying sklearn/neural_network/tests/test_stochastic_optimizers.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neural_network/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing
    copying sklearn/preprocessing/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing
    copying sklearn/preprocessing/_function_transformer.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing
    copying sklearn/preprocessing/data.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing
    copying sklearn/preprocessing/imputation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing
    copying sklearn/preprocessing/label.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing/tests
    copying sklearn/preprocessing/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing/tests
    copying sklearn/preprocessing/tests/test_data.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing/tests
    copying sklearn/preprocessing/tests/test_function_transformer.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing/tests
    copying sklearn/preprocessing/tests/test_imputation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing/tests
    copying sklearn/preprocessing/tests/test_label.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/preprocessing/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/semi_supervised
    copying sklearn/semi_supervised/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/semi_supervised
    copying sklearn/semi_supervised/label_propagation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/semi_supervised
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/semi_supervised/tests
    copying sklearn/semi_supervised/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/semi_supervised/tests
    copying sklearn/semi_supervised/tests/test_label_propagation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/semi_supervised/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/_feature_agglomeration.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/affinity_propagation_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/bicluster.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/birch.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/dbscan_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/hierarchical.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/k_means_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/mean_shift_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    copying sklearn/cluster/spectral.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/common.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/test_affinity_propagation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/test_bicluster.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/test_birch.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/test_dbscan.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/test_hierarchical.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/test_k_means.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/test_mean_shift.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    copying sklearn/cluster/tests/test_spectral.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/cluster/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/california_housing.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/covtype.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/kddcup99.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/lfw.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/mlcomp.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/mldata.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/olivetti_faces.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/rcv1.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/samples_generator.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/species_distributions.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/svmlight_format.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    copying sklearn/datasets/twenty_newsgroups.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/test_20news.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/test_base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/test_covtype.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/test_kddcup99.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/test_lfw.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/test_mldata.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/test_rcv1.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/test_samples_generator.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    copying sklearn/datasets/tests/test_svmlight_format.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/datasets/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/dict_learning.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/factor_analysis.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/fastica_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/incremental_pca.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/kernel_pca.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/nmf.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/online_lda.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/pca.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/sparse_pca.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    copying sklearn/decomposition/truncated_svd.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_dict_learning.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_factor_analysis.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_fastica.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_incremental_pca.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_kernel_pca.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_nmf.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_online_lda.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_pca.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_sparse_pca.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    copying sklearn/decomposition/tests/test_truncated_svd.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/decomposition/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/bagging.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/forest.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/gradient_boosting.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/iforest.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/partial_dependence.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/voting_classifier.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    copying sklearn/ensemble/weight_boosting.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/test_bagging.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/test_base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/test_forest.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/test_gradient_boosting.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/test_gradient_boosting_loss_functions.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/test_iforest.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/test_partial_dependence.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/test_voting_classifier.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    copying sklearn/ensemble/tests/test_weight_boosting.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/ensemble/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/externals
    copying sklearn/externals/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals
    copying sklearn/externals/funcsigs.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals
    copying sklearn/externals/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals
    copying sklearn/externals/six.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals
    copying sklearn/externals/test_externals_setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/_compat.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/_memory_helpers.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/_multiprocessing_helpers.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/_parallel_backends.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/backports.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/disk.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/format_stack.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/func_inspect.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/hashing.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/logger.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/memory.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/my_exceptions.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/numpy_pickle.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/numpy_pickle_compat.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/numpy_pickle_utils.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/parallel.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    copying sklearn/externals/joblib/pool.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/externals/joblib
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction
    copying sklearn/feature_extraction/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction
    copying sklearn/feature_extraction/dict_vectorizer.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction
    copying sklearn/feature_extraction/hashing.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction
    copying sklearn/feature_extraction/image.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction
    copying sklearn/feature_extraction/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction
    copying sklearn/feature_extraction/stop_words.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction
    copying sklearn/feature_extraction/text.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction/tests
    copying sklearn/feature_extraction/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction/tests
    copying sklearn/feature_extraction/tests/test_dict_vectorizer.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction/tests
    copying sklearn/feature_extraction/tests/test_feature_hasher.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction/tests
    copying sklearn/feature_extraction/tests/test_image.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction/tests
    copying sklearn/feature_extraction/tests/test_text.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/feature_extraction/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold
    copying sklearn/manifold/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold
    copying sklearn/manifold/isomap.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold
    copying sklearn/manifold/locally_linear.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold
    copying sklearn/manifold/mds.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold
    copying sklearn/manifold/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold
    copying sklearn/manifold/spectral_embedding_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold
    copying sklearn/manifold/t_sne.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold/tests
    copying sklearn/manifold/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold/tests
    copying sklearn/manifold/tests/test_isomap.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold/tests
    copying sklearn/manifold/tests/test_locally_linear.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold/tests
    copying sklearn/manifold/tests/test_mds.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold/tests
    copying sklearn/manifold/tests/test_spectral_embedding.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold/tests
    copying sklearn/manifold/tests/test_t_sne.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/manifold/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics
    copying sklearn/metrics/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics
    copying sklearn/metrics/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics
    copying sklearn/metrics/classification.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics
    copying sklearn/metrics/pairwise.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics
    copying sklearn/metrics/ranking.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics
    copying sklearn/metrics/regression.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics
    copying sklearn/metrics/scorer.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics
    copying sklearn/metrics/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/tests
    copying sklearn/metrics/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/tests
    copying sklearn/metrics/tests/test_classification.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/tests
    copying sklearn/metrics/tests/test_common.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/tests
    copying sklearn/metrics/tests/test_pairwise.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/tests
    copying sklearn/metrics/tests/test_ranking.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/tests
    copying sklearn/metrics/tests/test_regression.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/tests
    copying sklearn/metrics/tests/test_score_objects.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster
    copying sklearn/metrics/cluster/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster
    copying sklearn/metrics/cluster/bicluster.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster
    copying sklearn/metrics/cluster/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster
    copying sklearn/metrics/cluster/supervised.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster
    copying sklearn/metrics/cluster/unsupervised.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster/tests
    copying sklearn/metrics/cluster/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster/tests
    copying sklearn/metrics/cluster/tests/test_bicluster.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster/tests
    copying sklearn/metrics/cluster/tests/test_supervised.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster/tests
    copying sklearn/metrics/cluster/tests/test_unsupervised.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/metrics/cluster/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/approximate.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/classification.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/graph.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/kde.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/lof.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/nearest_centroid.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/regression.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    copying sklearn/neighbors/unsupervised.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/test_approximate.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/test_ball_tree.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/test_dist_metrics.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/test_kd_tree.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/test_kde.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/test_lof.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/test_nearest_centroid.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/test_neighbors.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    copying sklearn/neighbors/tests/test_quad_tree.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/neighbors/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/tree
    copying sklearn/tree/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tree
    copying sklearn/tree/export.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tree
    copying sklearn/tree/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tree
    copying sklearn/tree/tree.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tree
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/tree/tests
    copying sklearn/tree/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tree/tests
    copying sklearn/tree/tests/test_export.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tree/tests
    copying sklearn/tree/tests/test_tree.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tree/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/svm
    copying sklearn/svm/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/svm
    copying sklearn/svm/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/svm
    copying sklearn/svm/bounds.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/svm
    copying sklearn/svm/classes.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/svm
    copying sklearn/svm/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/svm
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/svm/tests
    copying sklearn/svm/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/svm/tests
    copying sklearn/svm/tests/test_bounds.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/svm/tests
    copying sklearn/svm/tests/test_sparse.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/svm/tests
    copying sklearn/svm/tests/test_svm.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/svm/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/bayes.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/coordinate_descent.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/huber.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/least_angle.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/logistic.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/omp.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/passive_aggressive.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/perceptron.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/randomized_l1.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/ransac.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/ridge.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/sag.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/stochastic_gradient.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    copying sklearn/linear_model/theil_sen.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_bayes.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_coordinate_descent.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_huber.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_least_angle.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_logistic.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_omp.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_passive_aggressive.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_perceptron.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_randomized_l1.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_ransac.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_ridge.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_sag.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_sgd.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_sparse_coordinate_descent.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    copying sklearn/linear_model/tests/test_theil_sen.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/linear_model/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/_scipy_sparse_lsqr_backport.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/arpack.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/bench.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/class_weight.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/deprecation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/estimator_checks.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/extmath.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/fixes.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/graph.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/linear_assignment_.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/metaestimators.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/mocking.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/multiclass.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/optimize.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/random.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/sparsefuncs.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/stats.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/testing.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    copying sklearn/utils/validation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/sparsetools
    copying sklearn/utils/sparsetools/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/sparsetools
    copying sklearn/utils/sparsetools/setup.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/sparsetools
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/sparsetools/tests
    copying sklearn/utils/sparsetools/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/sparsetools/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_bench.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_class_weight.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_deprecation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_estimator_checks.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_extmath.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_fast_dict.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_fixes.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_graph.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_linear_assignment.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_metaestimators.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_multiclass.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_murmurhash.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_optimize.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_random.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_seq_dataset.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_shortest_path.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_sparsefuncs.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_stats.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_testing.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_utils.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    copying sklearn/utils/tests/test_validation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/utils/tests
    creating build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_base.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_calibration.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_check_build.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_common.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_config.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_cross_validation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_discriminant_analysis.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_docstring_parameters.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_dummy.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_grid_search.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_init.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_isotonic.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_kernel_approximation.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_kernel_ridge.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_learning_curve.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_metaestimators.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_multiclass.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_multioutput.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_naive_bayes.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_pipeline.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    copying sklearn/tests/test_random_projection.py -> build/lib.macosx-10.13-x86_64-3.7/sklearn/tests
    running build_clib
    customize UnixCCompiler
    customize UnixCCompiler using build_clib
    building 'libsvm-skl' library
    compiling C++ sources
    C compiler: g++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/ssl/include -I/usr/local/ssl/include

    creating build/temp.macosx-10.13-x86_64-3.7
    creating build/temp.macosx-10.13-x86_64-3.7/sklearn
    creating build/temp.macosx-10.13-x86_64-3.7/sklearn/svm
    creating build/temp.macosx-10.13-x86_64-3.7/sklearn/svm/src
    creating build/temp.macosx-10.13-x86_64-3.7/sklearn/svm/src/libsvm
    compile options: '-I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -c'
    g++: sklearn/svm/src/libsvm/libsvm_template.cpp
    ar: adding 1 object files to build/temp.macosx-10.13-x86_64-3.7/liblibsvm-skl.a
    ranlib:@ build/temp.macosx-10.13-x86_64-3.7/liblibsvm-skl.a
    running build_ext
    customize UnixCCompiler
    customize UnixCCompiler using build_ext
    customize UnixCCompiler
    customize UnixCCompiler using build_ext
    building 'sklearn.__check_build._check_build' extension
    compiling C sources
    C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/ssl/include -I/usr/local/ssl/include

    creating build/temp.macosx-10.13-x86_64-3.7/sklearn/__check_build
    compile options: '-I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -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'
    gcc: sklearn/__check_build/_check_build.c
    gcc -bundle -undefined dynamic_lookup -L/usr/local/ssl/lib -L/usr/local/ssl/lib build/temp.macosx-10.13-x86_64-3.7/sklearn/__check_build/_check_build.o -Lbuild/temp.macosx-10.13-x86_64-3.7 -o build/lib.macosx-10.13-x86_64-3.7/sklearn/__check_build/_check_build.cpython-37m-darwin.so
    building 'sklearn.cluster._dbscan_inner' extension
    compiling C++ sources
    C compiler: g++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/ssl/include -I/usr/local/ssl/include

    creating build/temp.macosx-10.13-x86_64-3.7/sklearn/cluster
    compile options: '-I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -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++: sklearn/cluster/_dbscan_inner.cpp
    In file included from sklearn/cluster/_dbscan_inner.cpp:514:
    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:18:
    In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by "          "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
    #warning "Using deprecated NumPy API, disable it by " \
     ^
    sklearn/cluster/_dbscan_inner.cpp:5960:21: error: no member named 'exc_type' in '_ts'
        *type = tstate->exc_type;
                ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:5961: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5962: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5969:24: error: no member named 'exc_type' in '_ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:5970: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5971: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5972:13: error: no member named 'exc_type' in '_ts'
        tstate->exc_type = type;
        ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:5973: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5974: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:6029:24: error: no member named 'exc_type' in '_ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:6030: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:6031: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:6032:13: error: no member named 'exc_type' in '_ts'
        tstate->exc_type = local_type;
        ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:6033: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:6034: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    1 warning and 15 errors generated.
    In file included from sklearn/cluster/_dbscan_inner.cpp:514:
    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:18:
    In file included from /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:
    /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by "          "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
    #warning "Using deprecated NumPy API, disable it by " \
     ^
    sklearn/cluster/_dbscan_inner.cpp:5960:21: error: no member named 'exc_type' in '_ts'
        *type = tstate->exc_type;
                ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:5961: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5962: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5969:24: error: no member named 'exc_type' in '_ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:5970: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5971: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5972:13: error: no member named 'exc_type' in '_ts'
        tstate->exc_type = type;
        ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:5973: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:5974: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:6029:24: error: no member named 'exc_type' in '_ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:6030: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:6031: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:6032:13: error: no member named 'exc_type' in '_ts'
        tstate->exc_type = local_type;
        ~~~~~~  ^
    sklearn/cluster/_dbscan_inner.cpp:6033: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:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    sklearn/cluster/_dbscan_inner.cpp:6034: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:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    1 warning and 15 errors generated.
    error: Command "g++ -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/ssl/include -I/usr/local/ssl/include -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -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 sklearn/cluster/_dbscan_inner.cpp -o build/temp.macosx-10.13-x86_64-3.7/sklearn/cluster/_dbscan_inner.o -MMD -MF build/temp.macosx-10.13-x86_64-3.7/sklearn/cluster/_dbscan_inner.o.d" failed with exit status 1

    ----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-qle02ymx/scikit-learn/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-fureu9e8/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-install-qle02ymx/scikit-learn/
$```
@jnothman
Copy link
Member

Presumably a Cython limitation: cython/cython#1955. Are you using the most recent version? It seems to have been fixed in 0.27.3

@mario-grgic
Copy link
Author

Yes, I have:

$ pip3 list | grep -i cython
Cython                   0.28.3
$

and this still fails to build?

@jnothman jnothman reopened this Jun 28, 2018
@jnothman
Copy link
Member

That's interesting... make sure that that is the actual Cython version being used to compile the files.

@mario-grgic
Copy link
Author

It should be using the correct cython:

$ which cython
/usr/local/bin/cython
$
$ cat $(which cython)
#!/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7
# EASY-INSTALL-ENTRY-SCRIPT: 'Cython==0.28.3','console_scripts','cython'
__requires__ = 'Cython==0.28.3'
import re
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(
        load_entry_point('Cython==0.28.3', 'console_scripts', 'cython')()
    )
$ cython --version
Cython version 0.28.3
$ cython
Cython (http://cython.org) is a compiler for code written in the
Cython language.  Cython is based on Pyrex by Greg Ewing.

Usage: cython [options] sourcefile.{pyx,py} ...

Options:
  -V, --version                  Display version number of cython compiler
  -l, --create-listing           Write error messages to a listing file
  -I, --include-dir <directory>  Search for include files in named directory
                                 (multiple include directories are allowed).
  -o, --output-file <filename>   Specify name of generated C file
  -t, --timestamps               Only compile newer source files
  -f, --force                    Compile all source files (overrides implied -t)
  -v, --verbose                  Be verbose, print file names on multiple compilation
  -p, --embed-positions          If specified, the positions in Cython files of each
                                 function definition is embedded in its docstring.
  --cleanup <level>              Release interned objects on python exit, for memory debugging.
                                 Level indicates aggressiveness, default 0 releases nothing.
  -w, --working <directory>      Sets the working directory for Cython (the directory modules
                                 are searched from)
  --gdb                          Output debug information for cygdb
  --gdb-outdir <directory>       Specify gdb debug information output directory. Implies --gdb.

  -D, --no-docstrings            Strip docstrings from the compiled module.
  -a, --annotate                 Produce a colorized HTML version of the source.
  --annotate-coverage <cov.xml>  Annotate and include coverage information from cov.xml.
  --line-directives              Produce #line directives pointing to the .pyx source
  --cplus                        Output a C++ rather than C file.
  --embed[=<method_name>]        Generate a main() function that embeds the Python interpreter.
  -2                             Compile based on Python-2 syntax and code semantics.
  -3                             Compile based on Python-3 syntax and code semantics.
  --lenient                      Change some compile time errors to runtime errors to
                                 improve Python compatibility
  --capi-reexport-cincludes      Add cincluded headers to any auto-generated header files.
  --fast-fail                    Abort the compilation on the first error
  --warning-errors, -Werror      Make all warnings into errors
  --warning-extra, -Wextra       Enable extra warnings
  -X, --directive <name>=<value>[,<name=value,...] Overrides a compiler directive
$

@selasley
Copy link

I have the same problem - macos 10.13.5, python 3.7, cython 0.28.3, pip install scikit-learn fails.

I was able to install scikit-learn-0.20.dev0 from master with pip install ., but pip install fails if I first "git checkout 0.19.1" with this error. Not sure if it is related to the problems installing scikit-learn from pypi.

Error compiling Cython file:
------------------------------------------------------------
...
# cython: cdivision=True
^
------------------------------------------------------------

sklearn/metrics/cluster/expected_mutual_info_fast.pyx:1:0: 'sklearn.metrics/cluster.expected_mutual_info_fast' is not a valid module name
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/85/qr0r3q393msgb2pf16434t_h0000gn/T/pip-req-build-1swcpxh2/setup.py", line 269, in <module>
    setup_package()
  File "/private/var/folders/85/qr0r3q393msgb2pf16434t_h0000gn/T/pip-req-build-1swcpxh2/setup.py", line 265, in setup_package
    setup(**metadata)
  File "/Users/selasley/venvs/py37/lib/python3.7/site-packages/numpy/distutils/core.py", line 135, in setup
    config = configuration()
  File "/private/var/folders/85/qr0r3q393msgb2pf16434t_h0000gn/T/pip-req-build-1swcpxh2/setup.py", line 135, in configuration
    config.add_subpackage('sklearn')
  File "/Users/selasley/venvs/py37/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 1024, in add_subpackage
    caller_level = 2)
  File "/Users/selasley/venvs/py37/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 993, in get_subpackage
    caller_level = caller_level + 1)
  File "/Users/selasley/venvs/py37/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 930, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "sklearn/setup.py", line 82, in configuration
    maybe_cythonize_extensions(top_path, config)
  File "/private/var/folders/85/qr0r3q393msgb2pf16434t_h0000gn/T/pip-req-build-1swcpxh2/sklearn/_build_utils/__init__.py", line 84, in maybe_cythonize_extensions
    config.ext_modules = cythonize(config.ext_modules)
  File "/Users/selasley/venvs/py37/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1026, in cythonize
    cythonize_one(*args)
  File "/Users/selasley/venvs/py37/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1146, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: sklearn/metrics/cluster/expected_mutual_info_fast.pyx

@chbrown
Copy link

chbrown commented Jun 30, 2018

Can confirm that I was getting the same error that mario-grgic posted, in a similar environment (macOS 10.12.6, just upgraded to Python 3.7.0 via Homebrew, with Cython 0.28.3). And like selasley, installing scikit-learn@master (0.20.dev0) seems to be working so far (at least, pip completes successfully, and things import at the Python REPL just fine):

pip install git+https://github.com/scikit-learn/scikit-learn

@ckingdev
Copy link

I'm getting the same errors (same error text, while building dbscan with Cython 0.28.3) on Debian testing.

Installing from master as chbrown described works with no problems, just a deprecation notice regarding collections.abc.

@jnothman
Copy link
Member

jnothman commented Jul 1, 2018

I'm going to close this one and leave #11320 open for Python 3.7 issues. See #11320 (comment) for my proposed roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants