![]() |
|
#1
|
|||
|
|||
Thanks Jeff, I think I knew that somewhere in the depths if my memory from a similar issue a few years ago.
Unfortunately, in this instance adding the missing files hasn't worked. I have tried just running the code that seems to be causing the problems: C:\Program Files\WorldViz\Vizard30\python\numpy\_int_.py and I'm getting the following error: C:\Program Files\WorldViz\Vizard30\python\numpy Traceback (most recent call last): File "<string>", line 1, in ? File "C:\Program Files\WorldViz\Vizard30/python\viz.py", line 14, in ? import vizmat File "C:\Program Files\WorldViz\Vizard30/python\vizmat.py", line 3, in ? from random import random File "random\__init__.py", line 3, in ? from mtrand import * File "numpy.pxi", line 74, in mtrand File "C:\Program Files\WorldViz\Vizard30\python\numpy\__init__.py", line 37, in ? import testing File "C:\Program Files\WorldViz\Vizard30\python\numpy\testing\__ini t__.py", line 3, in ? from numpytest import * File "C:\Program Files\WorldViz\Vizard30\python\numpy\testing\numpy test.py", line 19, in ? from numpy.distutils.exec_command import splitcmdline File "C:\Program Files\WorldViz\Vizard30\python\numpy\distutils\__i nit__.py", line 6, in ? import ccompiler File "C:\Program Files\WorldViz\Vizard30\python\numpy\distutils\cco mpiler.py", line 6, in ? from distutils.ccompiler import * File "distutils\__init__.py", line 6, in ? import ccompiler File "distutils\ccompiler.py", line 7, in ? from distutils import ccompiler ImportError: cannot import name ccompiler ** ERROR: Failed to initialize python |
#2
|
|||
|
|||
It's best to trigger the code using numpy while compiling the executable. Then, the files that Vizard needs to run the executable will be compiled in the executable. You can also add files manually, but chances are you're missing out on one or two 'obscure' files (a .dll file).
|
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Closing of an imported .py file | Uttama_vizard | Vizard | 2 | 05-04-2010 06:18 AM |
problems with output to a text file within executable | Saz | Vizard | 1 | 07-01-2009 11:01 AM |
executable file with avatars incorrectly displayed | aa-chris | Vizard | 2 | 11-03-2008 10:28 AM |
File Management | Uttama_vizard | Vizard | 2 | 07-01-2008 09:44 AM |
Writing text files with executable | adimov | Vizard | 1 | 03-21-2008 03:21 PM |