CrossMap icon indicating copy to clipboard operation
CrossMap copied to clipboard

Critical error with v0.3.8

Open mevers opened this issue 5 years ago • 2 comments

CrossMap version 0.3.8 installed with

pip install CrossMap

using Python 3.5.2 throws the critical error

Traceback (most recent call last):
  File "CrossMap.py", line 27, in <module>
    from cmmodule  import bgrMerge
  File "/Users/maurits/miniconda3/lib/python3.5/site-packages/cmmodule/bgrMerge.py", line 14, in <module>
    from cmmodule  import wig_reader
  File "/Users/maurits/miniconda3/lib/python3.5/site-packages/cmmodule/wig_reader.py", line 10, in <module>
    from bx.bbi.bigwig_file import BigWigFile
  File "lib/bx/bbi/bigwig_file.pyx", line 1, in init bx.bbi.bigwig_file
  File "__init__.pxd", line 918, in init bx.bbi.bbi_file
ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

mevers avatar Oct 14 '19 00:10 mevers

Hi, I have no idea about this error message. It relates to the bx-python package (https://github.com/bxlab/bx-python). FYI, I used bx-python (v0.8.0) without any problems.

liguowang avatar Oct 14 '19 16:10 liguowang

Seems to be an issue of numpy 1.15. I came across the same error, which disappeared when the numpy was updated to 1.19.

mt1022 avatar Dec 04 '20 06:12 mt1022