![]() |
|
|
|
#1
|
|||
|
|||
|
Could not locate _Vizcore module
Hello all
I was trying to run gallery.py ( provided by vizard software) using python interpreter. The program imports following modules viz vizact vizshape. I copied these modules viz.py, vizact.py and vizshape.py and gallery.py in one folder, so gallery.py can can have access to the modules. But when I run the gallery.py script it gives the following error " Traceback (most recent call last): File "C:\CAT_IITG\Vizard_Construction_Destruction\galer y experiments\gallery.py", line 9, in <module> import viz File "C:\CAT_IITG\Vizard_Construction_Destruction\galer y experiments\viz.py", line 17 raise ImportError,'viz module can only be imported by Vizard' ^ SyntaxError: invalid syntax " Then I checked in to viz.py, I found the following code in the beginning of file itself try: import _vizcore except ImportError: if 'VIZARD_WORKER_PROCESS' in os.environ: def _dummy(*args,**kw): return None _ipcSend = _dummy _ipcSendEx = _dummy else: raise ImportError,'viz module can only be imported by Vizard' else: _ipcSend = _vizcore._ipcSend _ipcSendEx = _vizcore._ipcSendEx This block of code imports _vizcore. So I tried to search _vizcore module in to the vizard software folder but I couldn't locate it. Are there any sources from where, I can find _vizcore module Or this is done so that users can't edit the _vizcore module |
|
#2
|
|||
|
|||
|
Yes, you're trying to access an internal file that can't be edited. Can you describe further what you are trying to accomplish?
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| view_coliision module | bbb | Vizard | 2 | 08-24-2016 01:46 AM |
| vizinput module missing | whaleeee | Vizard | 1 | 02-06-2013 12:30 AM |
| Exception in module vizjoy | fordprefect | Vizard | 2 | 12-03-2012 02:41 AM |
| Fading/lightening-Problem and viz.go in module | Johannes | Vizard | 6 | 09-02-2005 05:28 PM |
| vhil module | vadrian | Vizard | 2 | 01-27-2005 12:52 PM |