When running Python scripts, how to you set which version of Python is being used?

Turns out it is hardcoded for this node.

This line tells you it will use Python 2.x, likely 2.7 which has been End Of Life since January 1st.

As such, the instructions for installing dependencies are odd:

That last line will install the pifacecad python library for both python2 and python3, yet hardcoded uses python2.

1 Like