You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to run this software on a different machine, but following a fresh install I seem to be incurring in the issue below, demonstrated using the simple code example from the project's README. I'm on Python v3.6.5, ndd v0.7 (installed via pip), Numpy v1.14.5, gfortran v7.3.0.
Python 3.6.5 (default, Apr 1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ndd
>>> counts = [7, 3, 5, 8, 9, 1, 3, 3, 1, 0, 2, 5, 2, 11, 4, 23, 5, 0, 8, 0]
>>> entropy_estimate = ndd.entropy(counts)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/ndd/nsb.py", line 127, in entropy
result = estimator(counts, *args)
TypeError: _nsb.nsb() 2nd argument (nc) can't be converted to int
Any idea what could be causing this? Thanks a lot in advance - let me know if there's any extra info I can provide.
The text was updated successfully, but these errors were encountered:
Wow, that was fast! one pip install later, I confirm that the issue is solved. Thanks a lot for the speedy fix, and for writing the code in the first place! I'll make sure to cite you if the project I'm working on ends up going anywhere :)
Hi,
I used to run this software on a different machine, but following a fresh install I seem to be incurring in the issue below, demonstrated using the simple code example from the project's README. I'm on Python v3.6.5, ndd v0.7 (installed via pip), Numpy v1.14.5, gfortran v7.3.0.
Any idea what could be causing this? Thanks a lot in advance - let me know if there's any extra info I can provide.
The text was updated successfully, but these errors were encountered: