htseq / htseq

HTSeq is a Python library to facilitate processing and analysis of data from high-throughput sequencing (HTS) experiments.
http://htseq.readthedocs.io
GNU General Public License v3.0
90 stars 31 forks source link

[BUG]can't import HTSeq #52

Closed lizhan96 closed 2 years ago

lizhan96 commented 2 years ago

Software versions Specify what versions of the following you are using:

Describe the bug Can't import HTSeq

Minimal example showing the bug

$htseq-count Traceback (most recent call last): File "/home/lizhan/anaconda3/bin/htseq-count", line 3, in import HTSeq.scripts.count File "/home/lizhan/anaconda3/lib/python3.9/site-packages/HTSeq/init.py", line 13, in from HTSeq._HTSeq import * File "src/HTSeq/_HTSeq.pyx", line 1, in init HTSeq._HTSeq ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

To Reproduce Steps to reproduce the behavior. If this is an htseq-count bug report, paste the exact command line you ran on the small example data (see above).

iosonofabio commented 2 years ago

Thanks for writing.

How did you install HTSeq? Seems like your installation is broken

lizhan96 commented 2 years ago

Thanks for writing.

How did you install HTSeq? Seems like your installation is broken

I used the following code to install it pip install -i https://pypi.tuna.tsinghua.edu.cn/simple HTseq

iosonofabio commented 2 years ago

That pypi repo is not officially supported, use the official channels or ask the QingHua maintainers of that server to help you.

Closing. Feel free to reopen if you tried official install instructions and get the same error.

lizhan96 commented 2 years ago

which channels could provided? thanks.

iosonofabio commented 2 years ago

Just follow the instructions...