@shirleyquirk. Understood. I'll do better next time if including code.
In the meantime the good news is that I tracked down and deleted all nim related things on my PC, including path stuff. Reinstalled nim using choosenim and the problem has now gone away. SO it looks like yesterdays deletion of a duplicate installation wasn't quite enough.
