1

Does blender 2.60a work with python 2.7?

when i launch blender it shows me

found bundled python 2.7 in program file...something like this... 

but on the blender site it says that i must have python 3.2, so how did that happen?

Lynob
  • 5,059
  • 15
  • 64
  • 114
  • see [python 2.x or 3.x](http://stackoverflow.com/questions/3253430) – Nick Dandoulakis Dec 06 '11 at 13:51
  • @NickDandoulakis I'm not asking about the difference between 2.x and 3.x I know the difference but my question is how come blender work with 2.7? for example the older version is written for python 2.6.5 if you use python 2.7 with that version it won't work... – Lynob Dec 06 '11 at 13:55
  • ok but if v2.60a requires Python 3.x then you'll have to install it. – Nick Dandoulakis Dec 06 '11 at 14:01
  • @NickDandoulakis yes but read this questiion http://stackoverflow.com/questions/8392689/python-3-2-doesnt-work-with-python-2-7 - and the weird this is that it seems to detect python 2.7 i'm just asking how is this possible – Lynob Dec 06 '11 at 14:08
  • I found this http://wiki.blender.org/index.php/Dev:2.5/Source/Python/API/Py3.1_Migration – Nick Dandoulakis Dec 06 '11 at 14:09

1 Answers1

3

Newer versions of Blender only work with Python 3. For this reason they give you a full copy of a Python version that they know will work. If you wanted to run Blender with a 2.x version of Python you would have to convert the source and modules to 2.x compatible code and then recompile.

Your system may have a 2.x version, but Blender will still use its own. Keep in mind that your using an Alpha version... it wouldn't be all that supprising if it doesn't work how it should.

If you want to test which version it's using, write a simple script inside Blender, like this:

print "If you're using 3.x this will give an error"
Brigand
  • 84,529
  • 20
  • 165
  • 173
  • looks like you're right python console won't open anyway... i guess i have to find a way to install python 3.2 – Lynob Dec 06 '11 at 16:14
  • You don't have to install Python 3.x separately. Latest versions of Blender come with Python interpreter built in. – balajeerc Dec 13 '11 at 08:56
  • @someonelikeme: to check the console on blender from win you have to go Window-->"Toggle System Console" – ntg Jul 03 '13 at 14:21