Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 496277 - ImportError: No module named linalg
Summary: ImportError: No module named linalg
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: numpy
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 497166 497536 (view as bug list)
Depends On:
Blocks: F11Target
TreeView+ depends on / blocked
 
Reported: 2009-04-17 15:48 UTC by Orion Poplawski
Modified: 2009-04-24 14:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-20 16:57:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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. ***


Note You need to log in before you can comment on or make changes to this bug.