Install third-party modules in python and run the pip command prompt: SyntaxError: invalid syntax. Perhaps you forgot a comma?

When running pip install module name in python idle, SyntaxError: invalid syntax appears. Perhaps you forgot a comma?

Reason for the error: Invalid syntax is prompted because the pip command is not run in the python interpreter. Should be run from cmd command prompt. The first time a beginner used the pip command to install a third-party module, he made a ridiculous mistake *-*.

 

Guess you like

Origin blog.csdn.net/anfenggang/article/details/122750645