I have the following code:
import serial
arduino = serial.Serial('/dev/tty.usbmodem14111')
print(arduino.portstr)
And I got the following error:
Traceback (most recent call last):
File "/Users/miguelangelcallejonbosque/Documents/workspace/proyectp/principal/hola.py", line 2, in <module>
import serial
File "/Library/Python/2.7/site-packages/pyserial-3.3-py2.7.egg/serial/__init__.py", line 31, in <module>
File "/Library/Python/2.7/site-packages/pyserial-3.3-py2.7.egg/serial/serialjava.py", line 36, in <module>
File "/Library/Python/2.7/site-packages/pyserial-3.3-py2.7.egg/serial/serialjava.py", line 30, in detect_java_comm
ImportError: No Java Communications API implementation found
Can you help me solve it?
Thanks in advance