Blender, Python and Mac OS X 10.3?

Hello everybody

I cannot manage to use python with Blender under Mac OS X 10.3. I’m using the following versions:

Mac OS X 10.3 aka “Panther”
Blender 2.30, Blender 2.28
Python 2.3 (installed with 10.3)

I always get the following error message:


Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback

I’ve tried to set PYTHONHOME and PYTHONPATH, but with no success :frowning:
AFAIK, Python 2.3 is not yet supported?

Any ideas how to solve this problem?

https://blenderartists.org/forum/viewtopic.php?t=7723&start=15

See Akators posts at the bottom of the page

%<

I haven’t gotten python to work with blender on 10.3, using the blender.org distribution. The blender.app that I compiled on 10.3 with python compiled and installed into /usr/local/lib works though. It’s a little more work but compiling your own is worth it, you can keep up with the changes by the developers that way also.
The python.framework that shippes with 10.3 is missing some of the *.py files that blender needs, and if you compile from source the libpython.2.3.a that is required for linking to blender is missing, but is included if you compile and install python from source.

BLENDER USES PYTHON 2.2, NOT 2.3

(didn’t want you to miss that, and other than that I don’t have much to say)

how to make Blender and Python work under Mac OS X 10.3

this solution works if you installed OS X 10.3 and archived 10.2

open terminal window and type

sudo cp /PreviousSystem/usr/bin/python2.2 /usr/bin/python2.2/

and, when prompted, insert admin password…

that’s all

To be exact, it works with the 2.2.X series, so 2.2.3, the latest bugfix release in the 2.2.X series is what you should have.

Martin

THEN MAKE IT WORK WITH 2.3

It only stands to reason to upgrade I guess. Whatever./

VelikM does it only work for you ? As in you can not share it for others ? I have been trying to get around to building it but just have no time yet.

THANKS FOR SHOUTING

It’s only a matter of compiling it with 2.3, if you want it to work with Python 2.3 so badly, compile one yourself.

Martin

THANKS FOR SHOUTING

It’s only a matter of compiling it with 2.3, if you want it to work with Python 2.3 so badly, compile one yourself.

Martin[/quote]

Then I will do so…

I have updated a with how to get Blender 2.28, Python, and Panther OS X working together using Fink. The instructions should also work with Jaguar.

http://www.widomaker.com/~katorlegaz/blendertips/python.html

Thanks to eadint for pointing me in the right direction!

Aww , but Python works fine now with Blender 2.3 when compiled in 10.3.

Ask Bi at the news room other wise I might be able to get it to compile some day . I am still trying

So I’ve heard. I have been unable to get anything working that I’ve compiled, and I spent several days on it. Unfortunately I cannot spend any more time on it.