conda-forge / hdbscan-feedstock Goto Github PK
View Code? Open in Web Editor NEWA conda-smithy repository for hdbscan.
License: BSD 3-Clause "New" or "Revised" License
A conda-smithy repository for hdbscan.
License: BSD 3-Clause "New" or "Revised" License
Issue:
I'm trying to add a feedstock recipe for a package that depends on hdbscan: conda-forge/staged-recipes#18064
The checks won't pass unless cython is declared as a dependency--the logs explicitly state that hdbscan requires it, even though the package I'm adding doesn't.
The 0.8.12 packages error when imported in a conda environment where numpy < 1.14.
~$ conda create -n example -c conda-forge python=3.6 hdbscan numpy=1.13
Solving environment: done
## Package Plan ##
environment location: /home/jhelmus/anaconda3/envs/example
added / updated specs:
- hdbscan
- numpy=1.13
- python=3.6
The following packages will be downloaded:
package | build
---------------------------|-----------------
scipy-1.0.0 |py36_blas_openblas_201 40.3 MB conda-forge
scikit-learn-0.19.1 |py36_blas_openblas_201 12.8 MB conda-forge
------------------------------------------------------------
Total: 53.2 MB
The following NEW packages will be INSTALLED:
blas: 1.1-openblas conda-forge
ca-certificates: 2017.11.5-0 conda-forge
hdbscan: 0.8.12-py36_0 conda-forge
libgfortran: 3.0.0-1 defaults
ncurses: 5.9-10 conda-forge
numpy: 1.13.3-py36_blas_openblas_201 conda-forge [blas_openblas]
openblas: 0.2.20-7 conda-forge
openssl: 1.0.2n-0 conda-forge
python: 3.6.4-0 conda-forge
readline: 7.0-0 conda-forge
scikit-learn: 0.19.1-py36_blas_openblas_201 conda-forge [blas_openblas]
scipy: 1.0.0-py36_blas_openblas_201 conda-forge [blas_openblas]
sqlite: 3.20.1-2 conda-forge
tk: 8.6.7-0 conda-forge
xz: 5.2.3-0 conda-forge
zlib: 1.2.11-0 conda-forge
Proceed ([y]/n)? y
Downloading and Extracting Packages
scipy 1.0.0: ############################################################################################################################################ | 100%
scikit-learn 0.19.1: #################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use:
# > source activate example
#
# To deactivate an active environment, use:
# > source deactivate
#
~$ source activate example
(example) ~$ python -c "import hdbscan"
Traceback (most recent call last):
File "__init__.pxd", line 1011, in numpy.import_array
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/jhelmus/anaconda3/envs/example/lib/python3.6/site-packages/hdbscan/__init__.py", line 1, in <module>
from .hdbscan_ import HDBSCAN, hdbscan
File "/home/jhelmus/anaconda3/envs/example/lib/python3.6/site-packages/hdbscan/hdbscan_.py", line 21, in <module>
from ._hdbscan_linkage import (single_linkage,
File "hdbscan/dist_metrics.pxd", line 61, in init hdbscan._hdbscan_linkage (hdbscan/_hdbscan_linkage.c:20936)
File "hdbscan/dist_metrics.pyx", line 13, in init hdbscan.dist_metrics
File "__init__.pxd", line 1013, in numpy.import_array
ImportError: numpy.core.multiarray failed to import
hdbscan makes use of the numpy C API and needs to express the the numpy versions it is compatible with. The conda-forge documentation has more details on this topic.
PR with a fix will be submitted shortly.
The current about/home
is...
hdbscan-feedstock/recipe/meta.yaml
Line 43 in 7587bf9
However it looks like this has moved to https://github.com/scikit-learn-contrib/hdbscan
The PyPI package also points to the same location
Should about/home
be updated?
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.