Virtualight problem

Why the virtualight export.py gives that message, when I run it in blender.

“PYTHON SCRIPT ERROR:
traceback(most recent call last):
File vlightexport210.py”, line 10, in ?
Import error: no module named os

What’s that mean?

Aksy

do you use python 2.0 or 2.01?
are you using blender 2.23?

i made a little tutorial
http://home.wxs.nl/~dotblend/vl/vltutorial.html

I have blender 2.23.

this message means that Python couldn’t import the module named os. This is a module included with the regular Python distro, so it means that your PythonPath environement variable is not set properly. You can fix that, or just add these lines at the top of the script:


import sys
sys.path.append("c:/python20/lib/")

assuming that c:/python20 is where you instaled Python.

Martin

OK.
it works. But I must to convert all “re” to “pre” in script.

Aksy

ps.sory my bad English :frowning: