WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 06-21-2016, 01:04 AM
Bhavesh Bhavesh is offline
Join Date: Jun 2016
Posts: 2
Could not locate _Vizcore module

Hello all
I was trying to run ( provided by vizard software) using python interpreter. The program imports following modules

I copied these modules, and and in one folder, so can can have access to the modules. But when I run the script it gives the following error

" Traceback (most recent call last):
File "C:\CAT_IITG\Vizard_Construction_Destruction\galer y experiments\", line 9, in <module>
import viz
File "C:\CAT_IITG\Vizard_Construction_Destruction\galer y experiments\", line 17
raise ImportError,'viz module can only be imported by Vizard'
SyntaxError: invalid syntax "

Then I checked in to, I found the following code in the beginning of file itself

import _vizcore
except ImportError:
if 'VIZARD_WORKER_PROCESS' in os.environ:
def _dummy(*args,**kw):
return None
_ipcSend = _dummy
_ipcSendEx = _dummy
raise ImportError,'viz module can only be imported by Vizard'
_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
Reply With Quote
Old 06-21-2016, 01:48 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,467
Yes, you're trying to access an internal file that can't be edited. Can you describe further what you are trying to accomplish?
Reply With Quote

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
view_coliision module bbb Vizard 2 08-24-2016 12:46 AM
vizinput module missing whaleeee Vizard 1 02-05-2013 11:30 PM
Exception in module vizjoy fordprefect Vizard 2 12-03-2012 01:41 AM
Fading/lightening-Problem and viz.go in module Johannes Vizard 6 09-02-2005 04:28 PM
vhil module vadrian Vizard 2 01-27-2005 11:52 AM

All times are GMT -7. The time now is 09:08 AM.

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