LibSerialPort problem on MacBook Pro

I honestly don’t know what exactly happened, it must be some human error on my part, sorry for the noise.

But for what it’s worth, I wrote the following MWE, using PythonCall.jl (awesome package), to try and help me (and you) find the glitch, but in the process of doing so it suddenly worked™… So all is well that ends well:

using PythonCall

port = Sys.islinux() ? "/dev/ttyACM1" : Sys.isapple() ? "/dev/cu.usbmodem143201" : error("not supported")
baudrate = 115200

serial = pyimport("serial")
ser = serial.Serial(port, baudrate)
sleep(1)
values = UInt8[0, 255, 0, 1, 3]
ser.write(values) # works on both Linux and Apple
ser.close()

using LibSerialPort
sp = open(port, baudrate)
sleep(1)
values = UInt8[255, 0, 0, 4, 7] # different
write(sp, values) # worked only on Linux but not Apple, but now works on both :)
close(sp)

with

$ cat CondaPkg.toml 
[deps]
pyserial = ""

Thanks for the helpful suggestions!