dedupeio / hcluster Goto Github PK
View Code? Open in Web Editor NEWHierarchical Clustering Algorithms
License: Other
Hierarchical Clustering Algorithms
License: Other
Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/asottile/pyupgrade/
find . -iname '*.py' | grep -Ev 'test.py' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./hcluster/distance.py:1648: DeprecationWarning: invalid escape sequence \c
'(k \choose 2)=n)!') % name)
./hcluster/distance.py:1652: DeprecationWarning: invalid escape sequence \c
'be a k such that (k \choose 2)=n)!')
The Readme should be expanded to include:
On aarch64, ‘pip install dedupe-hcluster’ build the wheels from source code and then installs it. It requires the user to have a development environment installed on his system. Also, it takes more time to build the wheels than downloading and extracting the wheels from PyPI.
On aarch64, ‘pip install dedupe-hcluster’ should download the wheels from PyPI.
@derekeder, Please let me know your interest in releasing aarch64 wheels. I can help with this.
Started getting this error after the latest version bump:
/usr/local/lib/python3.6/site-packages/dedupe/__init__.py:6: in <module>
--
| from dedupe._init import * # noqa
| /usr/local/lib/python3.6/site-packages/dedupe/_init.py:1: in <module>
| from dedupe.api import StaticDedupe, Dedupe # noqa: F401
| /usr/local/lib/python3.6/site-packages/dedupe/api.py:27: in <module>
| import dedupe.clustering as clustering
| /usr/local/lib/python3.6/site-packages/dedupe/clustering.py:12: in <module>
| import hcluster
| /usr/local/lib/python3.6/site-packages/hcluster/__init__.py:1: in <module>
| from .hierarchy import *
| /usr/local/lib/python3.6/site-packages/hcluster/hierarchy.py:175: in <module>
| from . import distance
| /usr/local/lib/python3.6/site-packages/hcluster/distance.py:73: in <module>
| from . import _distance_wrap
| E ImportError: cannot import name '_distance_wrap'
This is running on Python 3.6.5.
https://gist.github.com/fgregg/7f275e030f509fdb26a1
Let's make a simpler case for reproducing bug.
` SyntaxError: Missing parentheses in call to 'print'. Did you mean print("No paths in the python path contain numpy/arrayobject.h")?
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-pxq8nc0h/hcluster/
`
Got this when installing hcluster..
build cp39 wheels
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.