Skip to content Skip to sidebar Skip to footer

Bacnet_scan Output A Csv File Error Typeerror: A Bytes-like Object Is Required, Not 'str'

When running bacnet_scan.py it looks like this: (volttron) (base) bartlino@bartlino-Latitude-E5530-non-vPro:~/Desktop/volttron/scripts/bacnet$ python bacnet_scan.py Device Address

Solution 1:

If you are not working out of the latest development branch, I'd suggest trying that first, as there was a PR accepted after the 8.0 release that fixed an issue related to bytes vs string in the output of this script. I'm also not certain how they'd interact, but you appear to have 2 virtual environments activated currently, and its possible that's messing with some versioning... Since its Python3.8 for your Anaconda, I'm doubtful of that, but its something to consider.


Post a Comment for "Bacnet_scan Output A Csv File Error Typeerror: A Bytes-like Object Is Required, Not 'str'"