Please make sure you update both NC and FC to latest version when you update either. It seems like you had an older version of NodeCanvas when you updated and some of the “Framework” files did not get actually updated ?
I would suggest removing both NodeCanvas and FlowCanvas folders and re download/import anew to be certain.