PDA

View Full Version : new vizard user having trouble


bhs125
09-10-2004, 02:18 PM
I was trying to run some vizard programs and came across this import error:
File "<string>", line 2, in ?
File "main.py", line 5, in ?
from scenery import scenery
File ".\scenery.py", line 2, in ?
from include.object3d import object3d
ImportError: No module named include.object3d

I havent programmed the files and I am relatively new at this.
Could somebody comment or recommend some "help" options.

:)

farshizzo
09-10-2004, 03:01 PM
Hi,

The file scenery.py is trying to import the module object3d from the package include.

This means there must be a directoy in the python path called include. Inside this directoy their should be a file called __init__.py and object3d.py. Most likely one or more of these files are missing. Make sure the include directory is in the same directory as scenery.py.

Let me know if you need anymore help.