tdigest icon indicating copy to clipboard operation
tdigest copied to clipboard

python2.7 ypeError: unbound method _cython_3_0_0a9.cython_function_or_method object must be called with RBTree instance as first argument (got AccumulationTree instance instead)

Open CreekLou opened this issue 2 years ago • 0 comments

Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/usr/local/lib/python2.7/dist-packages/tdigest/tdigest.py", line 112, in update self._add_centroid(Centroid(x, w)) File "/usr/local/lib/python2.7/dist-packages/tdigest/tdigest.py", line 67, in _add_centroid self.C.insert(centroid.mean, centroid) File "accumulation_tree/accumulation_tree.pyx", line 233, in accumulation_tree.accumulation_tree._AccumulationTree.insert TypeError: unbound method _cython_3_0_0a9.cython_function_or_method object must be called with RBTree instance as first argument (got AccumulationTree instance instead)

my pip env accumulation-tree==0.6.2 amqp==1.4.6 ansible==1.8 anyjson==0.3.3 APNSWrapper==0.6.1 astroid==1.4.8 atfork==0.1.2 Babel==1.3 backports.functools-lru-cache==1.2.1 backports.ssl-match-hostname==3.4.0.2 beautifulsoup4==4.1.3 billiard==3.3.0.20 biplist==0.6 boilerpipe==1.2.0 boilerpipy==0.2.1b0 boto==2.42.0 bz2file==0.98 cached-property==1.2.0 cachetools==2.0.1 cassandra-driver==3.0.0a1 celery==3.1.18 certifi==2015.4.28 cffi==1.1.0 chardet==2.3.0 Cheetah==2.4.4 chromium-compact-language-detector==0.31415 chronos-python==0.34.0 click==5.1 colorama==0.3.2 configparser==3.5.0 coverage==4.3.4 cssselect==0.9.1 cssutils==1.0 Cython==0.17.4 DateUtils==0.5.2 decorator==3.4.0 Django==1.3.1 django-ajax-selects==1.3.5 django-cache-machine==0.6 django-debug-toolbar-django13==0.8.4 django-mysqlpool==0.1.post8 dnspython==1.12.0 docker-py==1.7.2 docutils==0.8.1 dpkt==1.6 elasticsearch==1.3.0 elasticsearch-dsl==0.0.4.dev0 feedparser==5.1.3 fixture==1.5 Flask==0.10.1 Flask-Admin==1.1.0 flower==0.8.2 flup==1.0.2 functools32==3.2.3.post2 furl==0.3.6 futures==2.1.6 gensim==0.13.1 geojson==1.0.9 glob2==0.5 google-auth==1.3.0 gunicorn==19.3.0 h2==2.4.1 hpack==2.3.0 html2text==2015.6.21 html5lib==1.0b1 httpagentparser==1.1.2 httplib2==0.9.2 hyper==0.7.0 hyperframe==3.2.0 ImageHash==0.3 impyla==0.9.1 iotop==0.6 isort==4.2.5 itsdangerous==0.24 jenkinsapi==0.3.3 Jinja2==2.7.3 jsl==0.2.4 jsonpath-rw==1.4.0 jsonschema==2.5.1 kazoo==2.0 Keras==1.0.6 kombu==3.0.26 lazy-object-proxy==1.2.2 librabbitmq==1.0.0 lipton==0.2.0 lockfile==0.8 luigi==2.3.0 lxml==2.3.4 Mako==1.0.0 Markdown==2.1.1 MarkupSafe==0.23 matplotlib==1.2.0 mccabe==0.5.2 mmh3==2.3 mock==1.0.1 mockredispy==2.9.0.9 mrjob==0.4.1 msgpack-python==0.2.4 mysql-replication==0.1.0 nose==1.2.1 numexpr==2.4rc2 numpy==1.11.1 objgraph==1.7.2 opentracing==1.3.0 orderedmultidict==0.7.1 pandas==0.14.1 peewee==2.6.4 PGen==0.2.1 phonenumbers==7.7.5 pika==0.9.8 Pillow==2.5.1 ply==3.9 premailer==2.5.1 protobuf==2.6.1 publicsuffix==1.0.5 pudb==2013.5.1 py-pypcap==1.1.2 pyasn1==0.4.2 pyasn1-modules==0.2.1 pycparser==2.13 pycurl==7.19.3.1 pyinotify==0.9.4 pylibmc==1.2.3 pylint==1.6.4 pylint-django==0.7.2 pylint-flask==0.5 pylint-plugin-utils==0.2.6 pylint-redis==0.1 pymongo==2.2 PyMySQL==0.5 PyNLPIR==0.4.6 pyparsing==1.5.7 PyStemmer==1.3.0 python-cjson==1.0.5 python-consul==0.4.0 python-daemon==1.5.5 python-dateutil==2.4.0 python-memcached==1.48 pytz==2014.4 pyudorandom==1.0.0 PyYAML==3.11 raven==5.2.0 recordtype==1.1 redis==2.10.1 redis-shard==0.1.6 requests==2.10.0 rsa==3.4.2 schedule==0.1.11 schematics==1.0.post0 scikit-learn==0.14.1 scipy==0.18.0 simplejson==2.3.0 six==1.10.0 slackclient==0.15 smart-open==1.3.3 SQLAlchemy==0.7.6 sqlparse==0.1.5 tables==3.1.1 tailer==0.3 tdigest==0.5.2.2 Theano==0.8.2 thrift==0.8.0 tldextract==1.7.1 tornado==4.1 twilio==6.3.dev0 ua-parser==0.3.6 ujson==1.33 urllib3==1.10 urlparse2==1.1.1 urwid==1.1.2 user-agents==0.3.2 virtualenv==13.0.3 voluptuous==0.8.4 web.py==0.34 websocket-client==0.32.0 Werkzeug==0.10.4 wrapt==1.10.8 WTForms==2.0.2 XlsxWriter==0.7.2 yappi==0.94 zkpython==0.4.2 ZooKeeper==0.4

CreekLou avatar Oct 25 '21 08:10 CreekLou