On 17-sep-2005, at 1:12, andrea valle wrote:

Hi to all,
it's a bit strange since it's some years I use python but actually I've
never used external packages. So I'm a total newbie on the subject.
Now I want to install pyx (http://pyx.sourceforge.net/) but it seems
that I am not able to.

this is my command line:

Last login: Thu Jan  1 01:00:39 on console
Welcome to Darwin!
apples-Computer:~ apple$ python /Users/apple/Desktop/PyX-0.8.1/ setup.py
install
running install
error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "" but "10.3" during
configure
apples-Computer:~ apple$

What's the problem? What should I do?

That's odd. You shouldn't get this error message. The error message tell you that the environment variable MACOSX_DEPLOYMENT_TARGET is present and has a value that is different from the time that Python was build. However, when the current value is the empty string (what the error message seems to suggest) python should just use the value that was used when python was build.

What happens when you do this in the shell:
$ cd /Users/apple/Desktop/PyX-0.8.1
$ MACOSX_DEPLOYMENT_TARGET= python setup.py install

And what is the output of: python -c "import os; print repr(os.getenv ('MACOSX_DEPLOYMENT_TARGET', ''))"

Ronald

Thanks a lot

-a-

pS: I've macosx 10.3.8 with active Python 2.4 (#1, Jun 12 2005,
14:30:47)

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to