problem with setup.py

andrea valle andrea.valle at unito.it
Sat Sep 17 15:50:20 CEST 2005


Thanks a lot.
I have bash as shell but I ignore what

> your ~/.bashrc

means.

Have I to edit a file?
Where should it be?


Thanks again


-a-

On 17 Sep 2005, at 12:46, Robert Kern wrote:

> andrea valle wrote:
>> Hi to all,
>> and sorry for cross-posting.
>>
>> I'm having troubles with installing packages.
>> I'm on macosx 10.3.8 and I have activestate python 2.4
>>
>> For example, pyrtf an pyx.
>> it is the first time I install packages so pardon me if it's obvious.
>>
>> I call python from terminal, I pass the absolute path of the setup.py
>> with command install, and results are always:
>> error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "" but "10.3" during
>> configure
>>
>> For example with pyrtf:
>>
>> apples-Computer:~ apple$ python
>> /Users/apple/Desktop/PyRTF-0.45/setup.py installrunning install
>> error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "" but "10.3" during
>> configure
>>
>> What should I do? I guess I have to hack some configuration, but don't
>> know which.
>
> Add the following line to your ~/.bashrc (assuming that you are using
> bash as your shell):
>
>   export MACOSX_DEPLOYMENT_TARGET=10.3
>
> Then start a new Terminal.app window (the change doesn't take effect
> until a new shell is started).
>
> I haven't needed to do this with the official 2.4.1 build, so you 
> should
> complain to ActiveState. Or use the official build.
>
> -- 
> Robert Kern
> rkern at ucsd.edu
>
> "In the fields of hell where the grass grows high
>  Are the graves of dreams allowed to die."
>   -- Richard Harter
>
> -- 
> http://mail.python.org/mailman/listinfo/python-list
>
>
Andrea Valle
Laboratorio multimediale "G. Quazza"
Facoltà di Scienze della Formazione
Università degli Studi di Torino
andrea.valle at unito.it




More information about the Python-list mailing list