Serial.list() can't work in python mode

code is very simply. But can’t work.

add_library('serial')
def setup():
    size(200,200)
    print Serial.list()
def draw():
    background(0)

1

The version is 3.3.7
And I also installed a processing version 2.2.1, in this version this code can work in the same computer.

Is anyone know what happened and how to let 3.3.7 work?

I’ve got it working by going back to Python Mode build 3035 in place of current 3038 (3039 at its repo). :smile_cat:
Build 3035 was in the subfolder “old/” btW. :money_mouth_face:
Anyways, you should report the issue here: :face_with_thermometer:

If you are on Windows 64-bits, be sure to check this issue, and the workaround of deleting/renaming from the Processing IDE folder this file: \processing-3.x.x\modes\java\libraries\serial\library\windows32\jSSC-2.8.dll