In my experience this error don't affect Visual Studio Code. Then, you have the option to use VSC instead of Spyder.