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 was trying to setup taxconverter so I can run taxVAMB in a fresh conda env with python 3.10 (also tried 3.11). However after installation as described in the README I got this error when running the tool:
taxconverter kraken2 -i kraken2_annotations.tsv -o results.tsv
<long stacktrace>
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Hi,
I was trying to setup taxconverter so I can run taxVAMB in a fresh conda env with python 3.10 (also tried 3.11). However after installation as described in the README I got this error when running the tool:
The solution was simple as described here: https://stackoverflow.com/questions/78634235/numpy-dtype-size-changed-may-indicate-binary-incompatibility-expected-96-from
I just had to install numpy=1.26.4 instead of letting pandas decide:
Based on this I suggest pinning numpy to 1.26.4:
pyproject.toml:
Kind regards, Sebastian
The text was updated successfully, but these errors were encountered: