I just installed the py27-numpy package via MacPorts and python will not find the module when I use this command: import scipy
I used the help('modules')
command and the scipy port did not come up.
Clearly the path is not configured correctly or MacPorts is not installing in the correct place, but either way, it would solve my problem to know where this package is being installed.
Where can I find the path to MacPorts-installed package, py27-scipy?
Output of echo $PATH
command:
/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:directory/bin
I cannot find the package in any of those locations.
Thanks for the help.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…