syntax error message

19 views
Skip to first unread message

brett

unread,
May 1, 2010, 8:48:09 AM5/1/10
to babuino...@yahoogroups.com, br-...@googlegroups.com
I downloaded the latest version of Blocos from SVN repository and try to
run it on my windows vista machine, I get the following message:

Traceback (most recent call last):
File "C:\Users\Baba\Desktop\blocos\Blocos.py", line 41, in <module>
import serial
File "C:\Python25\lib\site-packages\serial\__init__.py", line 14
from .serialcli import*
SyntaxError: 'import *' not allowed with 'from .'

Any ideas on what I need to do? Do I need to upgrade the python
packages?

I would install and run the windows executable version of Blocos, but it
is a much older version of Blocos and has a number of bugs that have
been corrected in the SVN version. How involved is it to update the
windows executable file? Perhaps this should be done on some kind of
regular basis?



Brett

Victor Matheus

unread,
May 1, 2010, 11:02:55 AM5/1/10
to br-...@googlegroups.com, babuino...@yahoogroups.com
Hi Brett, this is a very strange error in pyserial. I wasn't able to
find any reference to it, so I suggest you update the package. here in
my computer I use the version 1.35.

open a python terminal and type:
>> import serial
>> print serial.VERSION

Also, I checked their svn version and there isn't this syntax error.

The problem with windows version is that people usually expect a fully
working setup, Blocos is still in heavy development and there have
been many changes in the code in the last months. I prefer people
using an old version which at least works. When we have a more stable
version, we will make a new windows executable.

bye!
Reply all
Reply to author
Forward
0 new messages