The problem arises when you are importing the materials, which are not
always needed. A simple but not complete workaround is to enclose the
import visual statement in a try except:
try: import visual
except IOError: pass
That will do, if you are not using materials.
2011/9/5 家在仁和 <pa...@fo...>:
> Hi, guys!
> I'm a newbie with viusal. I've got the same problem about viusal and
> py2exe which has been described by
> this link:
> http://vpython.wikidot.com/forum/t-224090/vpython5-and-py2exe
> Simply speaking, the exe program which made by py2exe cannot find *.tga
> files.
> The upside link gives a solution, but not so good. Is there any more better
> solution?
> Thank you!
> Teddy Qian
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>
>
|