Bug 496277

Summary: ImportError: No module named linalg
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: numpyAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: amcnabb, gwync, jarod, jspaleta, mattdm, pbrobinson, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-20 16:57:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 446451    

Description Orion Poplawski 2009-04-17 15:48:14 UTC
Description of problem:

$ python
Python 2.6 (r26:66714, Mar 17 2009, 11:44:14)
[GCC 4.4.0 20090313 (Red Hat 4.4.0-0.26)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.6/site-packages/numpy/__init__.py", line 130, in <module>
    import add_newdocs
  File "/usr/lib64/python2.6/site-packages/numpy/add_newdocs.py", line 9, in <module>
    from lib import add_newdoc
  File "/usr/lib64/python2.6/site-packages/numpy/lib/__init__.py", line 13, in <modul
e>
    from polynomial import *
  File "/usr/lib64/python2.6/site-packages/numpy/lib/polynomial.py", line 18, in <mod
ule>
    from numpy.linalg import eigvals, lstsq
ImportError: No module named linalg

Version-Release number of selected component (if applicable):
numpy-1.3.0-2.fc11.x86_64

Comment 1 Gwyn Ciesla 2009-04-17 15:52:19 UTC
Looks like that was moved to the f2py package.  Peter, I was under the impression that that was desired.  It looks like I should move linalg back to the main numpy package.  What about distutils and fft?

Comment 2 Gwyn Ciesla 2009-04-17 15:54:18 UTC
Perhaps this was the root cause of https://bugzilla.redhat.com/show_bug.cgi?id=496218 ?

Comment 3 Gwyn Ciesla 2009-04-17 16:48:57 UTC
Hmm.  Definately needs fft too.  Testing. . .

Comment 4 Gwyn Ciesla 2009-04-17 17:39:08 UTC
Looks like fft and linalg must stay in numpy, distutils and f2py can be in -f2py.

Building fix for rawhide, and will revert changes made this morning to pygame.

Comment 5 Orion Poplawski 2009-04-17 18:25:00 UTC
Be sure to file a rel-eng ticket to get the build into F-11.

Comment 6 Gwyn Ciesla 2009-04-17 20:16:55 UTC
Rel-eng ticket:


https://fedorahosted.org/rel-eng/ticket/1524

Comment 7 Gwyn Ciesla 2009-04-20 16:57:40 UTC
Fixed.

Comment 8 Gwyn Ciesla 2009-04-23 12:31:51 UTC
*** Bug 497166 has been marked as a duplicate of this bug. ***

Comment 9 Andrew McNabb 2009-04-23 14:27:40 UTC
As of this morning, this fix has still not been pushed into Rawhide.  Should this ticket be closed if the fix is only available in koji?

Comment 10 Gwyn Ciesla 2009-04-23 14:40:54 UTC
Odd, it's tagged dist-f11-override, but not dist-f11.  I've reopened and commented on the rel-eng ticket.

Comment 11 Rex Dieter 2009-04-23 14:49:33 UTC
fixed now, numpy didn't get tagged properly (will show up in next rawhide compose)

Comment 12 Gwyn Ciesla 2009-04-23 14:59:08 UTC
Thanks!

Comment 13 Matthew Miller 2009-04-24 14:53:59 UTC
*** Bug 497536 has been marked as a duplicate of this bug. ***