Pip Install Seaborn Invalid Syntax, To resolve this error, you need to exit the shell by running the exit() function: .