how to run python frmaework in windows?

11 posts / 0 new
Last post
Ram
how to run python frmaework in windows?

Im running my python library but im getting error like this
PFA

Ram

The code which is available in github is all about socket programming for gurux dlms python framework.
I want to know whether there is any source code for serial port programming for gurux dlms python framework

Kurumi
Kurumi's picture

Hi,

I believe that your python version is wrong. Try to run this as "python3 main.py".

Support for the serial port is added later.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Ram

okay by what time serial port code will be added

Kurumi
Kurumi's picture

Hi,

It's in the test phase. We'll release it in August.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Ram

After compiling main file we are getting like this. what we need to do next. For serial port what we need to give as command line arguments.
thanks

Image: 
Kurumi
Kurumi's picture

Hi,

Python does not support serial port at the moment.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Ram

Hi Mikko,
U said that python framework for serial port will be released in august.
By what date it will be release?
Thanks

Kurumi
Kurumi's picture

Hi,

We are testing it at the moment. We'll try to release it as soon as possible. I can't give any exact date.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Ram

I'm trying to connect via serial port but im getting errors.
why, it wont work for serial port now??
Thanks

Kurumi
Kurumi's picture

Hi,

Serial port implementation for Python is not released yet. Only TCP/IP connection is released.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi