WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-19-2009, 06:37 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
read from SP

I am trying now to read from serial port, I did this before in VB 6 however, today I have tried with vizard after I installed pyserial-2.4.win32 in the following path
C:\Program Files\WorldViz\Vizard30\bin\lib
I am aware I have to install this in site-packages file. In addition, I copied this file from the python file because wasn’t with vizrd.
I am checking with this example
Code:
import serial
ss=serial.Serial(0)
print ss.portstr
but the error is as follows:
import serial
File "C:\Program Files\WorldViz\Vizard30\python\serial\__init__.py" , line 18, in ?
from serialwin32 import *
File "C:\Program Files\WorldViz\Vizard30\python\serial\serialwin32. py", line 9, in ?
import win32file # The base COM port and file IO functions.
ImportError: Module use of python26.dll conflicts with this version of Python.
Reply With Quote
  #2  
Old 02-19-2009, 10:36 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
It looks like you've installed an incompatible version of the win32 extensions with Vizard. Vizard uses Python 2.4 and the error message is indicating that the version of win32file you have is made for Python 2.6. Try uninstalling the pywin32 module and installing the version made for Python 2.4
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
Read file....many issues Uttama_vizard Vizard 9 07-08-2008 02:16 PM
Incoming floating point values Rachel Vizard 1 02-12-2008 03:09 PM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM
I cannot show wrl file with text node sled Vizard 3 06-25-2003 07:52 AM


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


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