Error syntax error: invalid syntax in PIP install XXX

Python — PIP Install XXX reporting SyntaxError: invalid Syntax
After installing python and entering the python runtime environment, I executed PIP install aiohttp because I was going to use PIP to install the third-party library needed for developing Web App. I found SyntaxError: invalid syntax. At first I thought it was a spelling or space problem or a python version problem, but the result was the same with pip3.


Then Baidu checked and found that the original PIP installation had to be started in the CMD command line, but it could not run in Python. Exit the Python runtime and execute PIP again.

> > > exit()

C:\Users\jiangmengying01>
Downloading aiohtt-2.3.6-cp36-cp36mwin_amd64. WHL (370kB)
35% | | █ █ █ █ █ █ █ █ █ █ █ █ ▍ eta 0:00:0 | 143 KB, 956 KB/s
41% | █ █ █ █ █ █ █ █ █ █ █ █ █ ▎ | 153 KB eta 0:00 1.0 MB/s:
.


Read More: