Changes between Initial Version and Version 2 of Ticket #47276


Ignore:
Timestamp:
Apr 2, 2015, 7:39:52 PM (9 years ago)
Author:
mf2k (Frank Schima)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47276

    • Property Owner changed from macports-tickets@… to sean@…
    • Property Cc michaelld@… added
    • Property Port py-scipy added; scipy removed
    • Property Keywords scipy import special specfun removed
  • Ticket #47276 – Description

    initial v2  
    33For example, when I run a function that uses scipy.integrate.quad():
    44
     5{{{
    56In [10]: cosmo.ProjectedLength(0.5)
    67---------------------------------------------------------------------------
     
    2122     42     da = c/(100.0*h)/(1+z)*f0.n()
    2223AttributeError: 'module' object has no attribute 'integrate'
     24}}}
    2325
    2426When I try to import one of the packages I also get an error:
    2527
     28{{{
    2629In [15]: import scipy.integrate
    2730---------------------------------------------------------------------------
     
    4750    550 from . import orthogonal
    4851    551 from .orthogonal import *
    49 ImportError: cannot import name specfun
     52ImportError: cannot import name spec fun
     53}}}
    5054
    5155I looked in the scipy directories and the /integrate/quadrature.pyc and special/orthogonal.pyc and /special/specfun.so exist. I had similar problems that I traced to other .so's, so I thought there was an issue with my compiler, but I thought macports would have detected this. I did not have this problem with older versions of scipy.