simon-anders / htseq

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

Can't import HTSeq with version 0.9.0 #36

Closed nwaring1 closed 6 years ago

nwaring1 commented 7 years ago

After updating to version 0.9.0, I get the following error when trying to import HTSeq:

Traceback (most recent call last): File "", line 1, in File "/Library/Python/2.7/site-packages/HTSeq/init.py", line 9, in from _HTSeq import * File "init.pxd", line 155, in init HTSeq._HTSeq (src/_HTSeq.c:41483) ValueError: numpy.dtype has the wrong size, try recompiling. Expected 88, got 96

iosonofabio commented 7 years ago

Hi, thanks for reporting, what's your OS and architecture? Can you please try compiling from source? Thx Fabio

On July 18, 2017 8:22:46 AM PDT, nwaring1 notifications@github.com wrote:

After updating to version 0.9.0, I get the following error when trying to import HTSeq:

Traceback (most recent call last): File "", line 1, in File "/Library/Python/2.7/site-packages/HTSeq/init.py", line 9, in

from _HTSeq import * File "__init__.pxd", line 155, in init HTSeq._HTSeq (src/_HTSeq.c:41483) ValueError: numpy.dtype has the wrong size, try recompiling. Expected 88, got 96 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/simon-anders/htseq/issues/36
nwaring1 commented 7 years ago

I'm running OS X 10.11.3 Here is the architecture: Model Name: MacBook Pro Model Identifier: MacBookPro11,1 Processor Name: Intel Core i5 Processor Speed: 2.6 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache (per Core): 256 KB L3 Cache: 3 MB Memory: 8 GB Boot ROM Version: MBP111.0138.B16 SMC Version (system): 2.16f68 Serial Number (system): C02MV0LAFH01 Hardware UUID: 19620B22-0ADD-51DE-B9B8-B2450FD74A44

Thank you, Nick

iosonofabio commented 7 years ago

Can you please try installing from source? Chances are the binary is for an earlier OSX version... Thanks

On July 18, 2017 8:45:04 AM PDT, nwaring1 notifications@github.com wrote:

I'm running OS X 10.11.3 Here is the architecture: Model Name: MacBook Pro Model Identifier: MacBookPro11,1 Processor Name: Intel Core i5 Processor Speed: 2.6 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache (per Core): 256 KB L3 Cache: 3 MB Memory: 8 GB Boot ROM Version: MBP111.0138.B16 SMC Version (system): 2.16f68 Serial Number (system): C02MV0LAFH01 Hardware UUID: 19620B22-0ADD-51DE-B9B8-B2450FD74A44

Thank you, Nick

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/simon-anders/htseq/issues/36#issuecomment-316106393

nwaring1 commented 7 years ago

I just installed from source, and it seems to be working now. Thanks for the help!

iosonofabio commented 7 years ago

It is strange that you couldn't install from the wheel, as Python wheels on OSX are expected to cover a wide range of OSX versions.

Thank you!

iosonofabio commented 6 years ago

No activity for a while... closing.