WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-12-2014, 07:26 AM
ptjt255 ptjt255 is offline
Member
 
Join Date: Oct 2008
Posts: 24
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
Reply With Quote
  #2  
Old 03-12-2014, 12:58 PM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
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).
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT -7. The time now is 04:27 AM.


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