Hi

You probably need install it. You can find the code and bins for different OS in

http://www.rxtx.org/

regards

josu


On 2009 ira 17, at 18:35, Rene Maurer wrote:

Hello

I try to use pyserial in my  environment and I have the following
error:

Traceback (most recent call last):
 ....
 ....
 File "./scripts/python-site/serial/__init__.py", line 17, in <module>
   from serialjava import *
 File "./scripts/python-site/serial/serialjava.py", line 9, in <module>
   import javax.comm
ImportError: No module named comm

pyserial requires java.comm ...which is not available in Jython:

~$ java -jar Local/jython/jython.jar
Jython 2.5.1rc2 (Release_2_5_1rc2:6790, Sep 12 2009, 14:44:25)
[Java HotSpot(TM) Server VM (Sun Microsystems Inc.)] on java1.6.0_14
Type "help", "copyright", "credits" or "license" for more information.
import javax.comm
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: No module named comm


Any hints?

Thanks a lot in advance.

Kind regards
René

PS
Jython 2.5 is great.
Thank you everybody!

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users