bvh_import.py

Hi Everyone,

I’ve been trying to run the script bvh_import.py, but when I hit Alt-p, I get the following error:

Traceback (most recent call last):
File “/Applications/blender-2.32-darwin-6.6-powerp/Blender.app/Contents/MacOS/bvh_import.py”, line 53, in ?

ImportError: cannot import name Render

I have done everything that I normally do to run Python scripts, but this one won’t work.

Mac G3
350 mhz
576 ram
OS-X 10.2.8
Python 2.23

Scene.Render was added to python in version 2.33 make sure that your running that atleast. Also I would upgrade to python 2.3x.
You could also change the line:


from Blender.Scene import Render

to

from Blender.Scene.Render import *

to see if that has any effect.

Hi ascotan,

Thank you for your reply. I changed the code as you suggested and got the following error:

no module named Render

I think I will wait a couple of weeks for Blender 2.34. I understand that bvh_import.py and bvh_export.py will be added to the File menu of Import and Export scripts. In any case I think I will have to update to Python 2.3X.

Thanks again.

You need blender 2.33+ The API has chenged from 2.32 to 2.33