pyserial icon indicating copy to clipboard operation
pyserial copied to clipboard

ImportError("No Java Communications API implementation found")

Open xlgforever opened this issue 5 years ago • 2 comments

when i use the module in the Python IDE, the os.name is "nt'. so i can use the module correctly. but when i excute the same .py files in CSS(control system studio, which the os.name change into the 'java', because the CSS is run in JVM), the console shows "ImportError("No Java Communications API implementation found")", what should i do?

xlgforever avatar Dec 29 '18 06:12 xlgforever

There was a Java coms support in pySerial 2.x, so you could try to install an older version.

I've not updated the jython implementation as the Java coms API was no longer easy to setup and use and there does not seem to be a big demand in running pySerial under jython.

zsquareplusc avatar Feb 08 '19 00:02 zsquareplusc

@xlgforever did you end figuring this out? What did you do?

dia986 avatar Aug 20 '21 03:08 dia986