Previous Thread  Next Thread

chat icon Python 2.0 vs 2.2

Bischofftep

Posted: Thu Mar 13, 2003 3:05 am
Joined: 06 Feb 2003
Posts: 37
Hello, all:

In response to some queries about MacOS X users having no luck with 'math' and other compiled modules, it was suggested that the reason had to do with Blender using Python 2.0 only.

I have been completely unable to locate a Python source or binary for 2.0... the earliest I can grab is for 2.1. So... did Blender for Mac EVER run Python correctly?

Any input here is greatly appreciated! Can Linux/Windows users use 2.2 Python with Blender?

Thanks,

-Bischofftep
Reply with quote


z3r0_d

Posted: Thu Mar 13, 2003 8:08 am
Joined: 16 Oct 2002
Posts: 1520
Bischofftep wrote:
Can Linux/Windows users use 2.2 Python with Blender?


Sorta, more than a few compiled modules do not work.
... but some things seem to work.
(maybe by using only py2.0 modules that came with blender)

look at what the output is for:
Code:
import sys
print sys.modules
print sys.builtin_module_names


you should see a bunch of modules that you can use easily enough. Set you python path, and get more.
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group