WIdgeteye wrote: > I have been trying to run a python program and I get the following > error: > Traceback (most recent call last): > Fil e "<string>", line 39, in ?
That doesn't look like a python program, File "<string>" means it's an embedded script. When a script is embedded it is responsibility of the caller (blender application) to setup correct path to modules. > File "/home/Larry/.blender/scripts/bzflag/__init__.py", line 22, in ? > import BZfileRead > File "/home/Larry/.blender/scripts/bzflag/BZfileRead.py", line 24, in ? > import BZsceneWriter > File "/home/Larry/.blender/scripts/bzflag/BZsceneWriter.py", line 25, in ? > import BZcommon > File "/home/Larry/.blender/scripts/bzflag/BZcommon.py", line 24, in ? > import math > ImportError: No module named math > [snip] > So what's up?? :) Try to insert ============== import sys print sys.path, sys.version, sys.executable ============== right before the failing "import math". The next step is most likely to RTFM how to properly setup python embedded into blender. If everything looks as described in the manual, it's a bug in blender. -- http://mail.python.org/mailman/listinfo/python-list