WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   new vizard user having trouble (https://forum.worldviz.com/showthread.php?t=188)

bhs125 09-10-2004 01:18 PM

new vizard user having trouble
 
I was trying to run some vizard programs and came across this import error:
File "", 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 02: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.


All times are GMT -7. The time now is 07:42 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC