kernsuite / packaging

Use this repository to report issues with packages or request new packages
13 stars 4 forks source link

import astropy.io.fits fails in astropy==2.0.11 #176

Closed o-smirnov closed 5 years ago

o-smirnov commented 5 years ago
In [1]: import astropy.io.fits as pyfits
   ...: 
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
ImportError: No module named _multiarray_umath

In [2]:                                                                                                                                                                                   

Works fine in 2.0.10.

o-smirnov commented 5 years ago

Hmmm, the plot thickens. It depends on which Ubuntu.

On Ubuntu 16.04, both 2.0.10 and 2.0.11 print the error above.

On Ubuntu 18.04, 2.0.10 is OK but 2.0.11 prints the error.

(I'm trying to import it in two otherwise identical virtual environments...)

I should rather say warning, as it proceeds to run afterwards anyway.

gijzelaerr commented 5 years ago

I can't replicate the issue on Ubuntu 18.04, python2 and 2.0.11 (virtualenv, tshikovski)

gijzelaerr commented 5 years ago

this is just not a KERN issue, closing this.

o-smirnov commented 5 years ago

@bennahugo, I first saw this here...

gijzelaerr commented 5 years ago

hm?

o-smirnov commented 5 years ago

Seeing the same error in a different context. Still haven't figured it out.

gijzelaerr commented 5 years ago

did you experiment with the numpy version? Some googlin hints that this might be a numpy 1.15 issue and running 1.16 solved it.