ContextLab / hypertools

A Python toolbox for gaining geometric insights into high-dimensional data
http://hypertools.readthedocs.io/en/latest/
MIT License
1.81k stars 161 forks source link

Failed building wheel for hdbscan #195

Closed galenwilkerson closed 5 years ago

galenwilkerson commented 6 years ago

I've gotten this error for both methods of installation. Using an anaconda 3.6 environment.

$ pip install -U git+https://github.com/ContextLab/hypertools.git

hdbscan/dist_metrics.pyx:1140:24: Constructing Python dict not allowed without gil
  building 'hdbscan.dist_metrics' extension
  gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/galen/miniconda3/envs/python_3_6/include/python3.6m -I/home/galen/miniconda3/envs/python_3_6/lib/python3.6/site-packages/numpy/core/include -c hdbscan/dist_metrics.c -o build/temp.linux-x86_64-3.6/hdbscan/dist_metrics.o
  hdbscan/dist_metrics.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
   #error Do not use this file, it is the result of a failed Cython compilation.
    ^
  error: command 'gcc' failed with exit status 1
$ uname -a
Linux fibonacci 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ conda info
Current conda install:

               platform : linux-64
          conda version : 4.3.30
       conda is private : False
      conda-env version : 4.3.30
    conda-build version : not installed
         python version : 3.6.0.final.0
       requests version : 2.12.4
       root environment : /home/galen/miniconda3  (writable)
    default environment : /home/galen/miniconda3/envs/python_3_6
       envs directories : /home/galen/miniconda3/envs
                          /home/galen/.conda/envs
          package cache : /home/galen/miniconda3/pkgs
                          /home/galen/.conda/pkgs
           channel URLs : https://repo.continuum.io/pkgs/main/linux-64
                          https://repo.continuum.io/pkgs/main/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/linux-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : None
             netrc file : None
           offline mode : False
             user-agent : conda/4.3.30 requests/2.12.4 CPython/3.6.0 Linux/4.4.0-119-generic debian/stretch/sid glibc/2.23    
                UID:GID : 1000:1000
$ conda list
# packages in environment at /home/galen/miniconda3/envs/python_3_6:
#
_license                  1.1                      py36_1    anaconda
alabaster                 0.7.9                    py36_0    anaconda
anaconda                  custom                   py36_0    anaconda
anaconda-client           1.6.0                    py36_0    anaconda
anaconda-navigator        1.4.3                    py36_0    anaconda
astroid                   1.4.9                    py36_0    anaconda
astropy                   1.3                 np111py36_0    anaconda
babel                     2.3.4                    py36_0    anaconda
backports                 1.0                      py36_0    anaconda
backports.weakref         1.0rc1                   py36_0  
backports.weakref         1.0rc1                    <pip>
beautifulsoup4            4.5.3                    py36_0    anaconda
bitarray                  0.8.1                    py36_0    anaconda
blaze                     0.10.1                   py36_0    anaconda
bleach                    1.5.0                     <pip>
bleach                    1.5.0                    py36_0  
bokeh                     0.12.4                   py36_0    anaconda
boto                      2.45.0                   py36_0    anaconda
boto                      2.48.0                    <pip>
boto3                     1.5.3                     <pip>
botocore                  1.8.17                    <pip>
bottleneck                1.2.0               np111py36_0    anaconda
bz2file                   0.98                      <pip>
bzip2                     1.0.6                         3    anaconda
cairo                     1.14.8                        0    anaconda
certifi                   2018.4.16                 <pip>
cffi                      1.9.1                    py36_0    anaconda
chardet                   3.0.4                     <pip>
chardet                   2.3.0                    py36_0    anaconda
chest                     0.2.3                    py36_0    anaconda
click                     6.7                      py36_0    anaconda
cloudpickle               0.2.2                    py36_0    anaconda
clyent                    1.2.2                    py36_0    anaconda
colorama                  0.3.7                    py36_0    anaconda
configobj                 5.0.6                    py36_0    anaconda
contextlib2               0.5.4                    py36_0    anaconda
cryptography              1.7.1                    py36_0    anaconda
curl                      7.49.0                        1    anaconda
cycler                    0.10.0                   py36_0    anaconda
cython                    0.25.2                   py36_0    anaconda
Cython                    0.28.2                    <pip>
cytoolz                   0.8.2                    py36_0    anaconda
dask                      0.13.0                   py36_0    anaconda
datashape                 0.5.4                    py36_0    anaconda
dbus                      1.10.10                       0    anaconda
decorator                 4.0.11                   py36_0    anaconda
deepdish                  0.3.6                     <pip>
dill                      0.2.5                    py36_0    anaconda
docutils                  0.14                      <pip>
docutils                  0.13.1                   py36_0    anaconda
entrypoints               0.2.2                    py36_0    anaconda
et_xmlfile                1.0.1                    py36_0    anaconda
expat                     2.1.0                         0    anaconda
fastcache                 1.0.2                    py36_1    anaconda
flask                     0.12                     py36_0    anaconda
flask-cors                3.0.2                    py36_0    anaconda
font-ttf-dejavu-sans-mono 2.37                          0    anaconda
font-ttf-inconsolata      2.000                         0    anaconda
font-ttf-source-code-pro  2.030                         0    anaconda
font-ttf-ubuntu           0.83                          0    anaconda
fontconfig                2.12.1                        2    anaconda
fonts-continuum           1                             0    anaconda
freetype                  2.5.5                         2    anaconda
future                    0.16.0                    <pip>
gensim                    3.2.0                     <pip>
geotiff                   1.4.1                         0    anaconda
get_terminal_size         1.0.0                    py36_0    anaconda
gevent                    1.2.1                    py36_0    anaconda
glib                      2.50.2                        1    anaconda
gmp                       6.1.0                         0    anaconda
graphviz                  0.8                       <pip>
greenlet                  0.4.11                   py36_0    anaconda
gsl                       2.2.1                         0    anaconda
gst-plugins-base          1.8.0                         0    anaconda
gstreamer                 1.8.0                         0    anaconda
h5py                      2.6.0               np111py36_2    anaconda
harfbuzz                  0.9.39                        2    anaconda
hdbscan                   0.8.12                    <pip>
hdf4                      4.2.12                        0    anaconda
hdf5                      1.8.17                        1    anaconda
heapdict                  1.0.0                    py36_1    anaconda
html5lib                  0.9999999                py36_0  
html5lib                  0.9999999                 <pip>
hypertools                0.5.0                     <pip>
icu                       54.1                          0    anaconda
idna                      2.6                       <pip>
idna                      2.2                      py36_0    anaconda
igraph                    0.7.1                         1    conda-forge
imagesize                 0.7.1                    py36_0    anaconda
ipykernel                 4.5.2                    py36_0    anaconda
ipykernel                 4.6.1                     <pip>
ipython                   5.1.0                    py36_0    anaconda
ipython_genutils          0.1.0                    py36_0    anaconda
ipywidgets                5.2.2                    py36_1    anaconda
isort                     4.2.5                    py36_0    anaconda
itsdangerous              0.24                     py36_0    anaconda
jbig                      2.1                           0    anaconda
jdcal                     1.3                      py36_0    anaconda
jedi                      0.9.0                    py36_1    anaconda
jinja2                    2.9.4                    py36_0    anaconda
jmespath                  0.9.3                     <pip>
jpeg                      8d                            2    anaconda
jsonschema                2.5.1                    py36_0    anaconda
jupyter                   1.0.0                    py36_3  
jupyter-cms               0.6.2                     <pip>
jupyter-dashboards        0.6.1                     <pip>
jupyter-dashboards-bundlers 0.8.1                     <pip>
jupyter_client            4.4.0                    py36_0    anaconda
jupyter_console           5.0.0                    py36_0    anaconda
jupyter_contrib_core      0.3.0                    py36_1    conda-forge
jupyter_contrib_nbextensions 0.2.6                    py36_0    conda-forge
jupyter_core              4.2.1                    py36_0    anaconda
jupyter_highlight_selected_word 0.0.11                   py36_0    conda-forge
jupyter_latex_envs        1.3.8.2                  py36_1    conda-forge
jupyter_nbextensions_configurator 0.2.4                    py36_0    conda-forge
jupyterlab                0.31.12                  py36_1    conda-forge
jupyterlab_launcher       0.10.5                   py36_0    conda-forge
kealib                    1.4.6                         0    anaconda
keras                     2.0.5                    py36_0  
kiwisolver                1.0.1                     <pip>
kmodes                    0.7                       <pip>
lazy-object-proxy         1.2.2                    py36_0    anaconda
libffi                    3.2.1                         1    anaconda
libgcc                    4.8.5                         2    anaconda
libgfortran               3.0.0                         1    anaconda
libgpuarray               0.6.9                         0  
libiconv                  1.14                          0    anaconda
libnetcdf                 4.4.1                         0    anaconda
libpng                    1.6.27                        0    anaconda
libprotobuf               3.2.0                         0  
libsodium                 1.0.10                        0    anaconda
libtiff                   4.0.6                         2    anaconda
libuuid                   1.0.3                         0    anaconda
libxcb                    1.12                          1    anaconda
libxml2                   2.9.4                         0    anaconda
libxslt                   1.1.29                        0    anaconda
llvmlite                  0.15.0                   py36_0    anaconda
llvmlite                  0.22.0                    <pip>
locket                    0.2.0                    py36_1    anaconda
lxml                      3.7.2                    py36_0    anaconda
mako                      1.0.6                    py36_0  
Markdown                  2.2.0                     <pip>
markdown                  2.6.8                    py36_0  
markupsafe                0.23                     py36_2    anaconda
matplotlib                2.0.0               np111py36_0    anaconda
matplotlib                2.2.2                     <pip>
mistune                   0.7.3                    py36_0    anaconda
mkl                       2017.0.1                      0    anaconda
mkl-service               1.1.2                    py36_3    anaconda
mpmath                    0.19                     py36_1    anaconda
multipledispatch          0.4.9                    py36_0    anaconda
mysql-connector-python    2.0.4                    py36_0    anaconda
nbconvert                 4.2.0                    py36_0    anaconda
nbformat                  4.2.0                    py36_0    anaconda
ncurses                   5.9                          10    anaconda
networkx                  1.11                     py36_0  
nltk                      3.2.2                    py36_0    anaconda
nose                      1.3.7                    py36_1    anaconda
notebook                  4.3.1                    py36_0    anaconda
numba                     0.37.0                    <pip>
numba                     0.30.1              np111py36_0    anaconda
numexpr                   2.6.1               np111py36_2    anaconda
numexpr                   2.6.4                     <pip>
numpy                     1.14.2                    <pip>
numpy                     1.11.3                   py36_0    anaconda
numpydoc                  0.6.0                    py36_0    anaconda
odo                       0.5.0                    py36_1    anaconda
openpyxl                  2.4.1                    py36_0    anaconda
openssl                   1.0.2k                        0    anaconda
pandas                    0.19.2              np111py36_1    anaconda
pandas                    0.22.0                    <pip>
pandoc                    1.15.0.6                      0    anaconda
pango                     1.40.3                        1    anaconda
partd                     0.3.7                    py36_0    anaconda
path.py                   10.0                     py36_0    anaconda
pathlib2                  2.2.0                    py36_0    anaconda
patsy                     0.4.1                    py36_0    anaconda
pcre                      8.39                          1    anaconda
pep8                      1.7.0                    py36_0    anaconda
pexpect                   4.2.1                    py36_0    anaconda
pickleshare               0.7.4                    py36_0    anaconda
pillow                    3.4.2                    py36_0    anaconda
pip                       9.0.1                    py36_1    anaconda
pixman                    0.34.0                        0    anaconda
ply                       3.9                      py36_0    anaconda
powerlaw                  1.4.3                     <pip>
ppca                      0.0.3                     <pip>
proj4                     4.9.2                         0    anaconda
prompt_toolkit            1.0.9                    py36_0    anaconda
protobuf                  3.3.0                     <pip>
protobuf                  3.2.0                    py36_0  
psutil                    5.0.1                    py36_0    anaconda
ptyprocess                0.5.1                    py36_0    anaconda
py                        1.4.33                   py36_0    anaconda
pyasn1                    0.1.9                    py36_0    anaconda
pycosat                   0.6.1                    py36_1    anaconda
pycparser                 2.17                     py36_0    anaconda
pycrypto                  2.6.1                    py36_4    anaconda
pycurl                    7.43.0                   py36_0    anaconda
pyflakes                  1.5.0                    py36_0    anaconda
pygments                  2.1.3                    py36_0    anaconda
pygpu                     0.6.9                    py36_0  
pylint                    1.6.4                    py36_1    anaconda
pyopenssl                 16.2.0                   py36_0    anaconda
pyparsing                 2.2.0                     <pip>
pyparsing                 2.1.4                    py36_0    anaconda
pyqt                      5.6.0                    py36_2    anaconda
pytables                  3.3.0               np111py36_0    anaconda
pytest                    3.0.5                    py36_0    anaconda
python                    3.6.0                         0    anaconda
python-dateutil           2.6.0                    py36_0    anaconda
python-dateutil           2.7.2                     <pip>
pytz                      2016.10                  py36_0    anaconda
pytz                      2018.4                    <pip>
pyyaml                    3.12                     py36_0    anaconda
pyzmq                     16.0.2                   py36_0    anaconda
qt                        5.6.2                         2    anaconda
qtawesome                 0.4.3                    py36_0    anaconda
qtconsole                 4.2.1                    py36_1    anaconda
qtpy                      1.2.1                    py36_0    anaconda
r-assertthat              0.1                    r3.3.2_4    r
r-backports               1.0.4                  r3.3.2_0    r
r-base                    3.3.2                         0    r
r-base64enc               0.1_3                  r3.3.2_0    r
r-bh                      1.62.0_1               r3.3.2_0    r
r-bitops                  1.0_6                  r3.3.2_2    r
r-boot                    1.3_18                 r3.3.2_0    r
r-broom                   0.4.1                  r3.3.2_0    r
r-car                     2.1_4                  r3.3.2_0    r
r-caret                   6.0_73                 r3.3.2_0    r
r-catools                 1.17.1                 r3.3.2_2    r
r-class                   7.3_14                 r3.3.2_0    r
r-cluster                 2.0.5                  r3.3.2_0    r
r-codetools               0.2_15                 r3.3.2_0    r
r-colorspace              1.3_1                  r3.3.2_0    r
r-crayon                  1.3.2                  r3.3.2_0    r
r-curl                    2.3                    r3.3.2_0    r
r-data.table              1.10.0                 r3.3.2_0    r
r-dbi                     0.5_1                  r3.3.2_0    r
r-dichromat               2.0_0                  r3.3.2_2    r
r-digest                  0.6.10                 r3.3.2_0    r
r-doparallel              1.0.10                 r3.3.2_0    r
r-dplyr                   0.5.0                  r3.3.2_0    r
r-essentials              1.5.2                  r3.3.2_0    r
r-evaluate                0.10                   r3.3.2_0    r
r-forcats                 0.1.1                  r3.3.2_0    r
r-foreach                 1.4.3                  r3.3.2_0    r
r-foreign                 0.8_67                 r3.3.2_0    r
r-formatr                 1.4                    r3.3.2_0    r
r-ggplot2                 2.2.0                  r3.3.2_0    r
r-gistr                   0.3.6                  r3.3.2_0    r
r-glmnet                  2.0_5                  r3.3.2_0    r
r-gridbase                0.4_7                  r3.3.2_0    r
r-gtable                  0.2.0                  r3.3.2_0    r
r-haven                   1.0.0                  r3.3.2_0    r
r-hexbin                  1.27.1                 r3.3.2_0    r
r-highr                   0.6                    r3.3.2_0    r
r-hms                     0.3                    r3.3.2_0    r
r-htmltools               0.3.5                  r3.3.2_0    r
r-htmlwidgets             0.8                    r3.3.2_0    r
r-httpuv                  1.3.3                  r3.3.2_0    r
r-httr                    1.2.1                  r3.3.2_0    r
r-igraph                  1.0.1                  r3.3.2_0    r
r-irdisplay               0.4.4                  r3.3.2_0    r
r-irkernel                0.7.1                  r3.3.2_0    r
r-irlba                   2.1.2                  r3.3.2_0    r
r-iterators               1.0.8                  r3.3.2_0    r
r-jsonlite                1.1                    r3.3.2_0    r
r-kernsmooth              2.23_15                r3.3.2_0    r
r-knitr                   1.15.1                 r3.3.2_0    r
r-labeling                0.3                    r3.3.2_2    r
r-lattice                 0.20_34                r3.3.2_0    r
r-lazyeval                0.2.0                  r3.3.2_0    r
r-leaflet                 1.0.1                  r3.3.2_0    r
r-lme4                    1.1_12                 r3.3.2_0    r
r-lubridate               1.6.0                  r3.3.2_0    r
r-magrittr                1.5                    r3.3.2_2    r
r-maps                    3.1.1                  r3.3.2_0    r
r-markdown                0.7.7                  r3.3.2_2    r
r-mass                    7.3_45                 r3.3.2_0    r
r-matrix                  1.2_7.1                r3.3.2_0    r
r-matrixmodels            0.4_1                  r3.3.2_0    r
r-mgcv                    1.8_16                 r3.3.2_0    r
r-mime                    0.5                    r3.3.2_0    r
r-minqa                   1.2.4                  r3.3.2_2    r
r-mnormt                  1.5_5                  r3.3.2_0    r
r-modelmetrics            1.1.0                  r3.3.2_0    r
r-modelr                  0.1.0                  r3.3.2_0    r
r-munsell                 0.4.3                  r3.3.2_0    r
r-nlme                    3.1_128                r3.3.2_0    r
r-nloptr                  1.0.4                  r3.3.2_2    r
r-nmf                     0.20.6                 r3.3.2_0    r
r-nnet                    7.3_12                 r3.3.2_0    r
r-openssl                 0.9.5                  r3.3.2_0    r
r-packrat                 0.4.8_1                r3.3.2_0    r
r-pbdzmq                  0.2_4                  r3.3.2_0    r
r-pbkrtest                0.4_6                  r3.3.2_0    r
r-pkgmaker                0.22                   r3.3.2_0    r
r-pki                     0.1_3                  r3.3.2_0    r
r-plyr                    1.8.4                  r3.3.2_0    r
r-png                     0.1_7                  r3.3.2_3    r
r-pryr                    0.1.2                  r3.3.2_0    r
r-psych                   1.6.9                  r3.3.2_0    r
r-purrr                   0.2.2                  r3.3.2_0    r
r-quantmod                0.4_7                  r3.3.2_0    r
r-quantreg                5.29                   r3.3.2_0    r
r-r6                      2.2.0                  r3.3.2_0    r
r-randomforest            4.6_12                 r3.3.2_0    r
r-raster                  2.5_8                  r3.3.2_0    r
r-rbokeh                  0.5.0                  r3.3.2_0    r
r-rcolorbrewer            1.1_2                  r3.3.2_3    r
r-rcpp                    0.12.8                 r3.3.2_0    r
r-rcppeigen               0.3.2.9.0              r3.3.2_0    r
r-rcurl                   1.95_4.8               r3.3.2_0    r
r-readr                   1.0.0                  r3.3.2_0    r
r-readxl                  0.1.1                  r3.3.2_0    r
r-recommended             3.3.2                  r3.3.2_0    r
r-registry                0.3                    r3.3.2_0    r
r-repr                    0.10                   r3.3.2_0    r
r-reshape2                1.4.2                  r3.3.2_0    r
r-rjsonio                 1.3_0                  r3.3.2_2    r
r-rmarkdown               1.3                    r3.3.2_0    r
r-rngtools                1.2.4                  r3.3.2_0    r
r-rpart                   4.1_10                 r3.3.2_0    r
r-rprojroot               1.1                    r3.3.2_0    r
r-rsconnect               0.7                    r3.3.2_0    r
r-rstudioapi              0.6                    r3.3.2_0    r
r-rvest                   0.3.2                  r3.3.2_0    r
r-scales                  0.4.1                  r3.3.2_0    r
r-selectr                 0.3_0                  r3.3.2_0    r
r-shiny                   0.14.2                 r3.3.2_0    r
r-sourcetools             0.1.5                  r3.3.2_0    r
r-sp                      1.2_3                  r3.3.2_0    r
r-sparsem                 1.74                   r3.3.2_0    r
r-spatial                 7.3_11                 r3.3.2_0    r
r-stringi                 1.1.2                  r3.3.2_0    r
r-stringr                 1.1.0                  r3.3.2_0    r
r-survival                2.40_1                 r3.3.2_0    r
r-tibble                  1.2                    r3.3.2_0    r
r-tidyr                   0.6.0                  r3.3.2_0    r
r-tidyverse               1.0.0                  r3.3.2_0    r
r-ttr                     0.23_1                 r3.3.2_0    r
r-uuid                    0.1_2                  r3.3.2_0    r
r-xml2                    1.0.0                  r3.3.2_0    r
r-xtable                  1.8_2                  r3.3.2_0    r
r-xts                     0.9_7                  r3.3.2_2    r
r-yaml                    2.1.14                 r3.3.2_0    r
r-zoo                     1.7_13                 r3.3.2_0    r
readline                  6.2                           2    anaconda
redis                     3.2.0                         0    anaconda
redis-py                  2.10.5                   py36_0    anaconda
requests                  2.12.4                   py36_0    anaconda
requests                  2.18.4                    <pip>
rope                      0.9.4                    py36_1    anaconda
rstudio                   1.0.136                       1    r
s3transfer                0.1.12                    <pip>
scikit-image              0.12.3              np111py36_1    anaconda
scikit-learn              0.19.1                    <pip>
scikit-learn              0.18.1              np111py36_1    anaconda
scipy                     1.0.1                     <pip>
scipy                     0.18.1              np111py36_1    anaconda
seaborn                   0.8.1                     <pip>
seaborn                   0.7.1                    py36_0    anaconda
setuptools                39.0.1                    <pip>
setuptools                27.2.0                   py36_0    anaconda
simplegeneric             0.8.1                    py36_1    anaconda
singledispatch            3.4.0.3                  py36_0    anaconda
sip                       4.18                     py36_0    anaconda
six                       1.11.0                    <pip>
six                       1.10.0                   py36_0    anaconda
smart-open                1.5.5                     <pip>
snowballstemmer           1.2.1                    py36_0    anaconda
sockjs-tornado            1.0.3                    py36_0    anaconda
sphinx                    1.5.1                    py36_0    anaconda
spyder                    3.1.2                    py36_0    anaconda
sqlalchemy                1.1.5                    py36_0    anaconda
sqlite                    3.13.0                        0    anaconda
statsmodels               0.6.1               np111py36_1    anaconda
stop-words                2015.2.23.1               <pip>
sympy                     1.0                      py36_0    anaconda
tables                    3.4.2                     <pip>
tensorflow                1.2.0                     <pip>
tensorflow                1.2.1                    py36_0  
terminado                 0.6                      py36_0    anaconda
tflearn                   0.3.2                     <pip>
theano                    0.9.0                    py36_0  
tk                        8.5.18                        0    anaconda
toolz                     0.8.2                    py36_0    anaconda
tornado                   4.4.2                    py36_0    anaconda
traitlets                 4.3.1                    py36_0    anaconda
umap-learn                0.2.3                     <pip>
unicodecsv                0.14.1                   py36_0    anaconda
urllib3                   1.22                      <pip>
wcwidth                   0.1.7                    py36_0    anaconda
werkzeug                  0.11.15                  py36_0    anaconda
wheel                     0.29.0                   py36_0    anaconda
Whoosh                    2.7.4                     <pip>
widgetsnbextension        1.2.6                    py36_0    anaconda
word2vec                  0.9.2                     <pip>
wrapt                     1.10.8                   py36_0    anaconda
xerces-c                  3.1.4                         0    anaconda
xlrd                      1.0.0                    py36_0    anaconda
xlsxwriter                0.9.6                    py36_0    anaconda
xlwt                      1.2.0                    py36_0    anaconda
xz                        5.2.2                         1    anaconda
yaml                      0.1.6                         0    anaconda
zeromq                    4.1.5                         0    anaconda
zlib                      1.2.8                         3    anaconda
jeremymanning commented 6 years ago

Thanks for your report-- we'll check this out and fix!

andrewheusser commented 6 years ago

hmmm, this is an odd bug since one of our automated tests is miniconda/python3.6... @lmcinnes, have you come across any issues like this?

andrewheusser commented 6 years ago

@galenwilkerson - could you try: apt-get install python3-dev and let us know if that fixes it?

galenwilkerson commented 6 years ago

Hi, will this break my python 3.6 conda environment? Thanks

andrewheusser commented 6 years ago

I dont think so, but to be sure you could set up a test env e.g. conda create -n myenv python=3.6

galenwilkerson commented 6 years ago

OK, i've created a test environment:

conda create -n testenv python=3.6
$ source activate testenv
pip install hypertools

... installed correctly until this:

Collecting tables (from deepdish->hypertools)
  Using cached https://files.pythonhosted.org/packages/98/bb/0192955689d2e5972e2714300433eff57e5bef4147248cb15c7b6f04ae9e/tables-3.4.3.tar.gz
    Complete output from command python setup.py egg_info:
    /tmp/H5closezhuqzz80.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
     main (int argc, char **argv) {
     ^
    /tmp/H5closezhuqzz80.c: In function ‘main’:
    /tmp/H5closezhuqzz80.c:2:5: warning: implicit declaration of function ‘H5close’ [-Wimplicit-function-declaration]
         H5close();
         ^
    /usr/bin/ld: cannot find -lhdf5
    collect2: error: ld returned 1 exit status
    * Using Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 18:21:58)
    * USE_PKGCONFIG: False
    * Found conda env: ``/home/galen/miniconda3/envs/testenv``
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-2y5swrs2/tables/

environment info:

$ conda info
Current conda install:

               platform : linux-64
          conda version : 4.3.30
       conda is private : False
      conda-env version : 4.3.30
    conda-build version : not installed
         python version : 3.6.0.final.0
       requests version : 2.12.4
       root environment : /home/galen/miniconda3  (writable)
    default environment : /home/galen/miniconda3/envs/testenv
       envs directories : /home/galen/miniconda3/envs
                          /home/galen/.conda/envs
          package cache : /home/galen/miniconda3/pkgs
                          /home/galen/.conda/pkgs
           channel URLs : https://repo.continuum.io/pkgs/main/linux-64
                          https://repo.continuum.io/pkgs/main/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/linux-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : None
             netrc file : None
           offline mode : False
             user-agent : conda/4.3.30 requests/2.12.4 CPython/3.6.0 Linux/4.4.0-119-generic debian/stretch/sid glibc/2.23    
                UID:GID : 1000:1000
conda list
# packages in environment at /home/galen/miniconda3/envs/testenv:
#
ca-certificates           2018.03.07                    0  
certifi                   2018.4.16                py36_0  
libedit                   3.1                  heed3624_0  
libffi                    3.2.1                hd88cf55_4  
libgcc-ng                 7.2.0                hdf63c60_3  
libstdcxx-ng              7.2.0                hdf63c60_3  
ncurses                   6.0                  h9df7e31_2  
openssl                   1.0.2o               h20670df_0  
pip                       9.0.3                    py36_0  
pip                       10.0.1                    <pip>
python                    3.6.5                hc3d631a_0  
readline                  7.0                  ha6073c6_4  
setuptools                39.0.1                   py36_0  
sqlite                    3.23.1               he433501_0  
tk                        8.6.7                hc745277_3  
wheel                     0.31.0                   py36_0  
xz                        5.2.3                h55aa19d_2  
zlib                      1.2.11               ha838bed_2  
galenwilkerson commented 6 years ago

OK, just installed HDF5 successfully with conda install HDF5

Running pip install hypertools

...

galenwilkerson commented 6 years ago

Hmm, now although it says installed correctly, doesn't seem to truly import hypertools:

$ pip install hypertools
Requirement already satisfied: hypertools in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (0.5.0)
Requirement already satisfied: numpy>=1.10.4 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (1.14.2)
Requirement already satisfied: pandas>=0.18.0 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (0.22.0)
Requirement already satisfied: six in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (1.11.0)
Requirement already satisfied: umap-learn>=0.1.5 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (0.2.3)
Requirement already satisfied: future in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (0.16.0)
Requirement already satisfied: hdbscan>=0.8.11 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (0.8.12)
Requirement already satisfied: scikit-learn>=0.19.1 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (0.19.1)
Requirement already satisfied: scipy>=1.0.0 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (1.0.1)
Requirement already satisfied: deepdish in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (0.3.6)
Requirement already satisfied: PPCA>=0.0.2 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (0.0.3)
Requirement already satisfied: matplotlib>=1.5.1 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (2.2.2)
Requirement already satisfied: requests in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (2.18.4)
Requirement already satisfied: seaborn>=0.8.1 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from hypertools) (0.8.1)
Requirement already satisfied: pytz>=2011k in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from pandas>=0.18.0->hypertools) (2018.4)
Requirement already satisfied: python-dateutil>=2 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from pandas>=0.18.0->hypertools) (2.7.2)
Requirement already satisfied: numba>=0.34 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from umap-learn>=0.1.5->hypertools) (0.37.0)
Requirement already satisfied: tables in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from deepdish->hypertools) (3.4.3)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from matplotlib>=1.5.1->hypertools) (2.2.0)
Requirement already satisfied: cycler>=0.10 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from matplotlib>=1.5.1->hypertools) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from matplotlib>=1.5.1->hypertools) (1.0.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from requests->hypertools) (3.0.4)
Requirement already satisfied: idna<2.7,>=2.5 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from requests->hypertools) (2.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from requests->hypertools) (2018.4.16)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from requests->hypertools) (1.22)
Requirement already satisfied: llvmlite>=0.22.0.dev0 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from numba>=0.34->umap-learn>=0.1.5->hypertools) (0.22.0)
Requirement already satisfied: numexpr>=2.5.2 in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from tables->deepdish->hypertools) (2.6.4)
Requirement already satisfied: setuptools in /home/galen/miniconda3/envs/testenv/lib/python3.6/site-packages (from kiwisolver>=1.0.1->matplotlib>=1.5.1->hypertools) (39.0.1)
(testenv) galen@fibonacci:~/Dropbox$ 
(testenv) galen@fibonacci:~/Dropbox$ ipython
Python 3.5.2 (default, Nov 23 2017, 16:37:01) 
Type 'copyright', 'credits' or 'license' for more information
IPython 6.1.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import hypertools
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-48afb9e37bd3> in <module>()
----> 1 import hypertools

ImportError: No module named 'hypertools'
galenwilkerson commented 6 years ago
$ conda list
# packages in environment at /home/galen/miniconda3/envs/testenv:
#
ca-certificates           2018.03.07                    0  
certifi                   2018.4.16                py36_0  
chardet                   3.0.4                     <pip>
cycler                    0.10.0                    <pip>
deepdish                  0.3.6                     <pip>
future                    0.16.0                    <pip>
hdbscan                   0.8.12                    <pip>
hdf5                      1.10.1               h9caa474_1  
hypertools                0.5.0                     <pip>
idna                      2.6                       <pip>
kiwisolver                1.0.1                     <pip>
libedit                   3.1                  heed3624_0  
libffi                    3.2.1                hd88cf55_4  
libgcc-ng                 7.2.0                hdf63c60_3  
libgfortran-ng            7.2.0                hdf63c60_3  
libstdcxx-ng              7.2.0                hdf63c60_3  
llvmlite                  0.22.0                    <pip>
matplotlib                2.2.2                     <pip>
ncurses                   6.0                  h9df7e31_2  
numba                     0.37.0                    <pip>
numexpr                   2.6.4                     <pip>
numpy                     1.14.2                    <pip>
openssl                   1.0.2o               h20670df_0  
pandas                    0.22.0                    <pip>
pip                       10.0.1                    <pip>
pip                       9.0.3                    py36_0  
ppca                      0.0.3                     <pip>
pyparsing                 2.2.0                     <pip>
python                    3.6.5                hc3d631a_0  
python-dateutil           2.7.2                     <pip>
pytz                      2018.4                    <pip>
readline                  7.0                  ha6073c6_4  
requests                  2.18.4                    <pip>
scikit-learn              0.19.1                    <pip>
scipy                     1.0.1                     <pip>
seaborn                   0.8.1                     <pip>
setuptools                39.0.1                   py36_0  
six                       1.11.0                    <pip>
sqlite                    3.23.1               he433501_0  
tables                    3.4.3                     <pip>
tk                        8.6.7                hc745277_3  
umap-learn                0.2.3                     <pip>
urllib3                   1.22                      <pip>
wheel                     0.31.0                   py36_0  
xz                        5.2.3                h55aa19d_2  
zlib                      1.2.11               ha838bed_2  
galenwilkerson commented 6 years ago

I prefer not to run

apt-get install python3-dev

since I'm afraid it will clobber something.

andrewheusser commented 6 years ago

It looks like ipython is using a different version of python Python 3.5.2 (default, Nov 23 2017, 16:37:01) (not the one installed in your test env). looks like you may need to install ipython in your text env

andrewheusser commented 6 years ago

@galenwilkerson were you able to resolve this?

galenwilkerson commented 6 years ago

Nope, I don't think your suggestion was correct about ipython. Let me know if you get it working.

On Sun, Apr 22, 2018, 12:36 PM Andy Heusser notifications@github.com wrote:

@galenwilkerson https://github.com/galenwilkerson were you able to resolve this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ContextLab/hypertools/issues/195#issuecomment-383371412, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMumIfG3eV2pzRE0hzRLQxXyRNStTrLks5trF0jgaJpZM4TdAHe .

andrewheusser commented 6 years ago

ok, the issue is likely related to installing hdbscan using pip instead of conda for anaconda environments, see https://github.com/scikit-learn-contrib/hdbscan/issues/143.

can you try installing hdbscan with conda? conda install -c conda-forge hdbscan. if that works, i'll add a note to the readme

jeremymanning commented 5 years ago

@andrewheusser let's remove hdbscan from requirements (and all hdbscan-related features) until we can work this one out. i'm also encountering hdbscan install issues...

if the user wants to use hdbscan, we could:

that way if the user has hdbscan installed already, they can use it. but if not, it won't mess up the installation of hypertools.

galenwilkerson commented 5 years ago

Unsubscribe please

Thanks

On Mon, Jul 16, 2018, 10:34 PM Jeremy Manning notifications@github.com wrote:

@andrewheusser https://github.com/andrewheusser let's remove hdbscan from requirements (and all hdbscan-related features) until we can work this one out. i'm also encountering hdbscan install issues...

if the user wants to use hdbscan, we could:

  • try importing hdbscan and running the analysis
  • if that fails, throw a "hdbscan not installed" error

that way if the user has hdbscan installed already, they can use it. but if not, it won't mess up the installation of hypertools.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ContextLab/hypertools/issues/195#issuecomment-405440373, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMumFFdc3U2JeUFayVjuhSSIiA7QrAnks5uHU0lgaJpZM4TdAHe .

lmcinnes commented 5 years ago

@andrewheusser It seems more likely that the issue is scikitlearn-contrib/hdbscan@222 -- at least as far as the build failure is concerned. That should be fixed in master. I can try pushing a new sdist to PyPI to resolve?

andrewheusser commented 5 years ago

@jeremymanning - what is the error that you are getting? is it related to dist_metrics.pyx?

@galenwilkerson - you can unsubscribe from this issue by clicking unsubscribe on the right side of this page under 'notifications': https://help.github.com/articles/subscribing-to-and-unsubscribing-from-notifications/

jeremymanning commented 5 years ago

@andrewheusser here's the full output (this is on Python 3.7 and MacOS 10.13):

$ pip install --user hypertools
Collecting hypertools
Requirement already satisfied: six in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (1.11.0)
Requirement already satisfied: future in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (0.16.0)
Collecting requests (from hypertools)
  Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Requirement already satisfied: seaborn>=0.8.1 in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (0.8.1)
Requirement already satisfied: umap-learn>=0.1.5 in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (0.3.0)
Requirement already satisfied: matplotlib>=1.5.1 in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (2.2.2)
Requirement already satisfied: scikit-learn>=0.19.1 in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (0.19.2)
Collecting hdbscan>=0.8.11 (from hypertools)
  Using cached https://files.pythonhosted.org/packages/c7/6a/92ecddb0d8c28266d8d4f9ab6f58ee543059aaade98e73b35de44a1c99f9/hdbscan-0.8.13.tar.gz
Requirement already satisfied: deepdish in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (0.3.6)
Requirement already satisfied: pandas>=0.18.0 in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (0.23.3)
Requirement already satisfied: numpy>=1.10.4 in /usr/local/lib/python3.7/site-packages (from hypertools) (1.14.5)
Requirement already satisfied: PPCA>=0.0.2 in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (0.0.3)
Requirement already satisfied: scipy>=1.0.0 in ./Library/Python/3.7/lib/python/site-packages (from hypertools) (1.1.0)
Collecting idna<2.8,>=2.5 (from requests->hypertools)
  Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests->hypertools)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting urllib3<1.24,>=1.21.1 (from requests->hypertools)
  Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->hypertools)
  Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Requirement already satisfied: numba>=0.37 in ./Library/Python/3.7/lib/python/site-packages (from umap-learn>=0.1.5->hypertools) (0.39.0)
Requirement already satisfied: python-dateutil>=2.1 in ./Library/Python/3.7/lib/python/site-packages (from matplotlib>=1.5.1->hypertools) (2.7.3)
Requirement already satisfied: cycler>=0.10 in ./Library/Python/3.7/lib/python/site-packages (from matplotlib>=1.5.1->hypertools) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in ./Library/Python/3.7/lib/python/site-packages (from matplotlib>=1.5.1->hypertools) (2.2.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./Library/Python/3.7/lib/python/site-packages (from matplotlib>=1.5.1->hypertools) (1.0.1)
Requirement already satisfied: pytz in ./Library/Python/3.7/lib/python/site-packages (from matplotlib>=1.5.1->hypertools) (2018.5)
Requirement already satisfied: cython>=0.17 in /usr/local/lib/python3.7/site-packages (from hdbscan>=0.8.11->hypertools) (0.28.4)
Requirement already satisfied: tables in ./Library/Python/3.7/lib/python/site-packages (from deepdish->hypertools) (3.4.4)
Requirement already satisfied: llvmlite>=0.24.0dev0 in ./Library/Python/3.7/lib/python/site-packages (from numba>=0.37->umap-learn>=0.1.5->hypertools) (0.24.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from kiwisolver>=1.0.1->matplotlib>=1.5.1->hypertools) (39.2.0)
Requirement already satisfied: numexpr>=2.5.2 in ./Library/Python/3.7/lib/python/site-packages (from tables->deepdish->hypertools) (2.6.5)
Building wheels for collected packages: hdbscan
  Running setup.py bdist_wheel for hdbscan ... error
  Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/zz/9lqw9wnd6d747mxyvfrbcpy80000gn/T/pip-install-o9metzua/hdbscan/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/zz/9lqw9wnd6d747mxyvfrbcpy80000gn/T/pip-wheel-joqi8nwm --python-tag cp37:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.13-x86_64-3.7
  creating build/lib.macosx-10.13-x86_64-3.7/hdbscan
  copying hdbscan/validity.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
  copying hdbscan/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
  copying hdbscan/prediction.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
  copying hdbscan/plots.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
  copying hdbscan/hdbscan_.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
  copying hdbscan/robust_single_linkage_.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
  creating build/lib.macosx-10.13-x86_64-3.7/hdbscan/tests
  copying hdbscan/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan/tests
  copying hdbscan/tests/test_rsl.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan/tests
  copying hdbscan/tests/test_hdbscan.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan/tests
  running build_ext
  cythoning hdbscan/_hdbscan_tree.pyx to hdbscan/_hdbscan_tree.c
  building 'hdbscan._hdbscan_tree' extension
  creating build/temp.macosx-10.13-x86_64-3.7
  creating build/temp.macosx-10.13-x86_64-3.7/hdbscan
  /usr/local/opt/llvm/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/opt/llvm/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/usr/local/lib/python3.7/site-packages/numpy/core/include -c hdbscan/_hdbscan_tree.c -o build/temp.macosx-10.13-x86_64-3.7/hdbscan/_hdbscan_tree.o
  In file included from hdbscan/_hdbscan_tree.c:567:
  In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
  In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:
  /usr/local/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 " \
   ^
  1 warning generated.
  /usr/local/opt/llvm/bin/clang -bundle -undefined dynamic_lookup -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib -I/usr/local/opt/llvm/include build/temp.macosx-10.13-x86_64-3.7/hdbscan/_hdbscan_tree.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -o build/lib.macosx-10.13-x86_64-3.7/hdbscan/_hdbscan_tree.cpython-37m-darwin.so
  skipping 'hdbscan/_hdbscan_linkage.c' Cython extension (up-to-date)
  building 'hdbscan._hdbscan_linkage' extension
  /usr/local/opt/llvm/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/opt/llvm/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/usr/local/lib/python3.7/site-packages/numpy/core/include -c hdbscan/_hdbscan_linkage.c -o build/temp.macosx-10.13-x86_64-3.7/hdbscan/_hdbscan_linkage.o
  In file included from hdbscan/_hdbscan_linkage.c:274:
  In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
  In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
  In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:
  /usr/local/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 " \
   ^
  hdbscan/_hdbscan_linkage.c:4936:15: warning: code will never be executed [-Wunreachable-code]
      if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
                ^~~~~~~~~~~~~
  hdbscan/_hdbscan_linkage.c:4936:9: note: silence by adding parentheses to mark code as explicitly dead
      if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
          ^
          /* DISABLES CODE */ ( )
  hdbscan/_hdbscan_linkage.c:4904:15: warning: code will never be executed [-Wunreachable-code]
      if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
                ^~~~~~~~~~~~~
  hdbscan/_hdbscan_linkage.c:4904:9: note: silence by adding parentheses to mark code as explicitly dead
      if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
          ^
          /* DISABLES CODE */ ( )
  hdbscan/_hdbscan_linkage.c:4872:15: warning: code will never be executed [-Wunreachable-code]
      if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
                ^~~~~~~~~~~~~
  hdbscan/_hdbscan_linkage.c:4872:9: note: silence by adding parentheses to mark code as explicitly dead
      if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
          ^
          /* DISABLES CODE */ ( )
  hdbscan/_hdbscan_linkage.c:4840:15: warning: code will never be executed [-Wunreachable-code]
      if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
                ^~~~~~~~~~~~~
  hdbscan/_hdbscan_linkage.c:4840:9: note: silence by adding parentheses to mark code as explicitly dead
      if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
          ^
          /* DISABLES CODE */ ( )
  hdbscan/_hdbscan_linkage.c:22783:21: error: no member named 'exc_type' in 'struct _ts'
      *type = tstate->exc_type;
              ~~~~~~  ^
  hdbscan/_hdbscan_linkage.c:22784:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      *value = tstate->exc_value;
                       ^~~~~~~~~
                       curexc_value
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  hdbscan/_hdbscan_linkage.c:22785:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      *tb = tstate->exc_traceback;
                    ^~~~~~~~~~~~~
                    curexc_traceback
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  hdbscan/_hdbscan_linkage.c:22792:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  hdbscan/_hdbscan_linkage.c:22793:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  hdbscan/_hdbscan_linkage.c:22794:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  hdbscan/_hdbscan_linkage.c:22795:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = type;
      ~~~~~~  ^
  hdbscan/_hdbscan_linkage.c:22796:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tstate->exc_value = value;
              ^~~~~~~~~
              curexc_value
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  hdbscan/_hdbscan_linkage.c:22797:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tstate->exc_traceback = tb;
              ^~~~~~~~~~~~~
              curexc_traceback
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  hdbscan/_hdbscan_linkage.c:22852:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  hdbscan/_hdbscan_linkage.c:22853:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  hdbscan/_hdbscan_linkage.c:22854:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  hdbscan/_hdbscan_linkage.c:22855:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = local_type;
      ~~~~~~  ^
  hdbscan/_hdbscan_linkage.c:22856:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tstate->exc_value = local_value;
              ^~~~~~~~~
              curexc_value
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  hdbscan/_hdbscan_linkage.c:22857:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tstate->exc_traceback = local_tb;
              ^~~~~~~~~~~~~
              curexc_traceback
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  hdbscan/_hdbscan_linkage.c:22879:24: error: no member named 'exc_type' in 'struct _ts'
      tmp_type = tstate->exc_type;
                 ~~~~~~  ^
  hdbscan/_hdbscan_linkage.c:22880:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
      tmp_value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
      PyObject *curexc_value;
                ^
  hdbscan/_hdbscan_linkage.c:22881:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
      tmp_tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
  /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
      PyObject *curexc_traceback;
                ^
  hdbscan/_hdbscan_linkage.c:22882:13: error: no member named 'exc_type' in 'struct _ts'
      tstate->exc_type = *type;
      ~~~~~~  ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  5 warnings and 20 errors generated.
  error: command '/usr/local/opt/llvm/bin/clang' failed with exit status 1

  ----------------------------------------
  Failed building wheel for hdbscan
  Running setup.py clean for hdbscan
Failed to build hdbscan
Installing collected packages: idna, chardet, urllib3, certifi, requests, hdbscan, hypertools
  The script chardetect is installed in '/Users/jmanning/Library/Python/3.7/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  Running setup.py install for hdbscan ... error
    Complete output from command /usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/zz/9lqw9wnd6d747mxyvfrbcpy80000gn/T/pip-install-o9metzua/hdbscan/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/zz/9lqw9wnd6d747mxyvfrbcpy80000gn/T/pip-record-rm_gnaot/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.13-x86_64-3.7
    creating build/lib.macosx-10.13-x86_64-3.7/hdbscan
    copying hdbscan/validity.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
    copying hdbscan/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
    copying hdbscan/prediction.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
    copying hdbscan/plots.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
    copying hdbscan/hdbscan_.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
    copying hdbscan/robust_single_linkage_.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan
    creating build/lib.macosx-10.13-x86_64-3.7/hdbscan/tests
    copying hdbscan/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan/tests
    copying hdbscan/tests/test_rsl.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan/tests
    copying hdbscan/tests/test_hdbscan.py -> build/lib.macosx-10.13-x86_64-3.7/hdbscan/tests
    running build_ext
    skipping 'hdbscan/_hdbscan_tree.c' Cython extension (up-to-date)
    building 'hdbscan._hdbscan_tree' extension
    creating build/temp.macosx-10.13-x86_64-3.7
    creating build/temp.macosx-10.13-x86_64-3.7/hdbscan
    /usr/local/opt/llvm/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/opt/llvm/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/usr/local/lib/python3.7/site-packages/numpy/core/include -c hdbscan/_hdbscan_tree.c -o build/temp.macosx-10.13-x86_64-3.7/hdbscan/_hdbscan_tree.o
    In file included from hdbscan/_hdbscan_tree.c:567:
    In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
    In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
    In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:
    /usr/local/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 " \
     ^
    1 warning generated.
    /usr/local/opt/llvm/bin/clang -bundle -undefined dynamic_lookup -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib -I/usr/local/opt/llvm/include build/temp.macosx-10.13-x86_64-3.7/hdbscan/_hdbscan_tree.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -o build/lib.macosx-10.13-x86_64-3.7/hdbscan/_hdbscan_tree.cpython-37m-darwin.so
    skipping 'hdbscan/_hdbscan_linkage.c' Cython extension (up-to-date)
    building 'hdbscan._hdbscan_linkage' extension
    /usr/local/opt/llvm/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/opt/llvm/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/usr/local/lib/python3.7/site-packages/numpy/core/include -c hdbscan/_hdbscan_linkage.c -o build/temp.macosx-10.13-x86_64-3.7/hdbscan/_hdbscan_linkage.o
    In file included from hdbscan/_hdbscan_linkage.c:274:
    In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4:
    In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
    In file included from /usr/local/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:
    /usr/local/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 " \
     ^
    hdbscan/_hdbscan_linkage.c:4936:15: warning: code will never be executed [-Wunreachable-code]
        if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
                  ^~~~~~~~~~~~~
    hdbscan/_hdbscan_linkage.c:4936:9: note: silence by adding parentheses to mark code as explicitly dead
        if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
            ^
            /* DISABLES CODE */ ( )
    hdbscan/_hdbscan_linkage.c:4904:15: warning: code will never be executed [-Wunreachable-code]
        if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
                  ^~~~~~~~~~~~~
    hdbscan/_hdbscan_linkage.c:4904:9: note: silence by adding parentheses to mark code as explicitly dead
        if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
            ^
            /* DISABLES CODE */ ( )
    hdbscan/_hdbscan_linkage.c:4872:15: warning: code will never be executed [-Wunreachable-code]
        if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
                  ^~~~~~~~~~~~~
    hdbscan/_hdbscan_linkage.c:4872:9: note: silence by adding parentheses to mark code as explicitly dead
        if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
            ^
            /* DISABLES CODE */ ( )
    hdbscan/_hdbscan_linkage.c:4840:15: warning: code will never be executed [-Wunreachable-code]
        if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
                  ^~~~~~~~~~~~~
    hdbscan/_hdbscan_linkage.c:4840:9: note: silence by adding parentheses to mark code as explicitly dead
        if (0 && (__pyx_tmp_idx < 0 || __pyx_tmp_idx >= __pyx_tmp_shape)) {
            ^
            /* DISABLES CODE */ ( )
    hdbscan/_hdbscan_linkage.c:22783:21: error: no member named 'exc_type' in 'struct _ts'
        *type = tstate->exc_type;
                ~~~~~~  ^
    hdbscan/_hdbscan_linkage.c:22784:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        *value = tstate->exc_value;
                         ^~~~~~~~~
                         curexc_value
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    hdbscan/_hdbscan_linkage.c:22785:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        *tb = tstate->exc_traceback;
                      ^~~~~~~~~~~~~
                      curexc_traceback
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    hdbscan/_hdbscan_linkage.c:22792:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    hdbscan/_hdbscan_linkage.c:22793:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    hdbscan/_hdbscan_linkage.c:22794:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    hdbscan/_hdbscan_linkage.c:22795:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = type;
        ~~~~~~  ^
    hdbscan/_hdbscan_linkage.c:22796:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tstate->exc_value = value;
                ^~~~~~~~~
                curexc_value
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    hdbscan/_hdbscan_linkage.c:22797:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tstate->exc_traceback = tb;
                ^~~~~~~~~~~~~
                curexc_traceback
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    hdbscan/_hdbscan_linkage.c:22852:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    hdbscan/_hdbscan_linkage.c:22853:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    hdbscan/_hdbscan_linkage.c:22854:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    hdbscan/_hdbscan_linkage.c:22855:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = local_type;
        ~~~~~~  ^
    hdbscan/_hdbscan_linkage.c:22856:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tstate->exc_value = local_value;
                ^~~~~~~~~
                curexc_value
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    hdbscan/_hdbscan_linkage.c:22857:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tstate->exc_traceback = local_tb;
                ^~~~~~~~~~~~~
                curexc_traceback
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    hdbscan/_hdbscan_linkage.c:22879:24: error: no member named 'exc_type' in 'struct _ts'
        tmp_type = tstate->exc_type;
                   ~~~~~~  ^
    hdbscan/_hdbscan_linkage.c:22880:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
        tmp_value = tstate->exc_value;
                            ^~~~~~~~~
                            curexc_value
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here
        PyObject *curexc_value;
                  ^
    hdbscan/_hdbscan_linkage.c:22881:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
        tmp_tb = tstate->exc_traceback;
                         ^~~~~~~~~~~~~
                         curexc_traceback
    /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    hdbscan/_hdbscan_linkage.c:22882:13: error: no member named 'exc_type' in 'struct _ts'
        tstate->exc_type = *type;
        ~~~~~~  ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    5 warnings and 20 errors generated.
    error: command '/usr/local/opt/llvm/bin/clang' failed with exit status 1

    ----------------------------------------
Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/zz/9lqw9wnd6d747mxyvfrbcpy80000gn/T/pip-install-o9metzua/hdbscan/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/zz/9lqw9wnd6d747mxyvfrbcpy80000gn/T/pip-record-rm_gnaot/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /private/var/folders/zz/9lqw9wnd6d747mxyvfrbcpy80000gn/T/pip-install-o9metzua/hdbscan/
andrewheusser commented 5 years ago

thanks! hey @lmcinnes - are you familiar with this error? its looks like a different issue than what Galen ran into. perhaps something new introduced in python 3.7?

@jeremymanning - we don't test python 3.7 yet, i'll put that on the list for the next release

lmcinnes commented 5 years ago

Yes, I'm familiar with this -- it's a Cython/python3.7 issue. I was going to try to fix it in the next few days. It will require people to have cython to install hdbscan which is annoying, but I know of no other way to work aropund the binary incompatibilities between 3.x and 3.7.

On Tue, Jul 17, 2018 at 9:30 AM Andy Heusser notifications@github.com wrote:

thanks! hey @lmcinnes https://github.com/lmcinnes - are you familiar with this error? its looks like a different issue than what Galen ran into. perhaps something new introduced in python 3.7?

@jeremymanning https://github.com/jeremymanning - we don't test python 3.7 yet, i'll put that on the list for the next release

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ContextLab/hypertools/issues/195#issuecomment-405582138, or mute the thread https://github.com/notifications/unsubscribe-auth/ALaKBcBoHVxBhroZpS6-hXVofbOKNvMGks5uHebdgaJpZM4TdAHe .

jeremymanning commented 5 years ago

@lmcinnes that sounds great. I agree that it's annoying to add another requirement, but it seems like the right way to go.

More generally for the toolbox, I'm wondering if we should take a slightly different approach to dependencies, now that we're starting to rely more and more on external dependencies. I'll add a new issue about this, but my general thinking is that we could:

This will allow us to increase the reliability of the installation while still maintaining support for advanced users.

andrewheusser commented 5 years ago

In the hypertools 0.5.1 release, hdbscan is an optional install. We are planning to move to this model for all non-core dependencies to keep hypertools as stable as possible