Cannot install python-f2py in edgy

Bug #66907 reported by Marcos Sánchez Provencio
4
Affects Status Importance Assigned to Milestone
python-f2py (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

>LANG=C sudo apt-get install python-scipy python-f2py

Reading package lists... Done
Building dependency tree
Reading state information... Done
python-scipy is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  python-f2py: Depends: python-scipy-core but it is not going to be installed
  python-numpy: Conflicts: python-f2py but 2.45.241+1926-5 is to be installed
E: Broken packages

Revision history for this message
William Grant (wgrant) wrote :

This is not a scipy bug. f2py, if anything.

Revision history for this message
bigg (bachmeil) wrote :

I installed in Xubuntu 6.10 with no difficulty. When attempting to use f2py, it gives the error:

Traceback (most recent call last):
  File "/usr/bin/f2py", line 4, in ?
    f2py2e.main()
  File "/usr/lib/python2.4/site-packages/f2py2e/f2py2e.py", line 677, in main
    run_compile()
  File "/usr/lib/python2.4/site-packages/f2py2e/f2py2e.py", line 605, in run_compile
    from scipy_distutils.system_info import get_info
ImportError: No module named scipy_distutils.system_info

When issuing the command f2py, the relevant part of the output is:
Scipy_distutils Version: N/A

Perhaps the scipy_distutils are not being installed but need to be?
Also I do not see any other way to install scipy_distutils

Revision history for this message
bigg (bachmeil) wrote :

I should add that it is quite easy to get f2py to work on my system by unpacking the tarballs on the f2py website and following the installation instructions. So there should not be a problem with f2py itself.

Revision history for this message
James Phillips (zunzun) wrote :

This also happens in ubuntu Fiesty Fawn development Herd 5 release - same apt-get error as Edgy Eft noted above.

Revision history for this message
Scott Kitterman (kitterman) wrote :

In Feisty/Gutsy all the f2py files have been migrated into python-numpy and that's what should be used instead.

Changed in python-f2py:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.