My guess is that something is still left over from the previous install. I would recommend a full uninstall of the CLI followed by a fresh install, and then make sure that IC is picking up the exact same path to the sf executable as shown in the command-line via which sf.
Let me know if that doesn’t help.
Regards,
Scott Wells
When you uninstalled the CLI, did you do a full uninstall including the directories outlined at the top of the linked instructions? If not, please do so as that makes a big difference in having a truly clean and proper CLI install.
If you did do that — or if the problem is still present after doing that — please enable debug logging for Salesforce DX, reproduce the issue, and email the resulting idea.log file to me for review.
Regards,
Scott Wells