[SciPy-user] Error building statlib.so
bob at redivi.com
Sat Mar 13 09:41:49 CST 2004
On Mar 13, 2004, at 9:49 AM, Pearu Peterson wrote:
> On Fri, 12 Mar 2004, Christopher Fonnesbeck wrote:
>> For some reason, stats/statlib refuses to build for me anymore. I did
>> not make any changes to this file, yet on the last few build attempts
>> get the error below, which is obviously related to not seeing the
>> python framework. However, I have the updated gnufcompiler.py, which
>> contains the following for OSX:
>> So, I'm completely at a loss as to why these do not get appended to
>> compile options.
>> Any ideas?
> Acctually, the latest CVS version of gnufcompiler.py contains
> if sys.platform=='darwin':
> if sys.executable.startswith('/usr/bin'):
> # This is when Python is from Apple framework
> #else we are running in Fink python.
> which means that in your case Python is assumed to be Fink Python but
> obviously (?) you are using Apple Python that is just installed to
> nonstandard (?) location.
> Could you guys and girls running on OSX find out what is the most
> way to determine that Python is either of Apple or Fink one? May be
> sys.version should be used instead of sys.executable for that?
It's possible that sys.executable could also start with /System if you
use a pythonw shell script.
[crack:~/src/stackless/Stackless] bob% pythonw -c "import sys; print
[crack:~/src/stackless/Stackless] bob% python -c "import sys; print
[crack:~/src/stackless/Stackless] bob% python -c "import sys,os; print
I guess it should be changed to
More information about the SciPy-user