Problem analysis:
The pip command is not executed in the python interpreter, but under the windows command line. pip is in the Python\Scripts directory. Open cmd, cd to the directory, and then enter pip install tornado to install it correctly.
The above is the detailed content of 'Under Windows, when using pip to install tornado, it prompts SyntaxError: invalid syntax syntax error.' Question. For more information, please follow other related articles on the PHP Chinese website!