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
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.![](https://programmerah.com/wp-content/uploads/2020/11/db0aeafa17d6c10917aa311621be5b3f.png)
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:
- Solve the problem of syntax error: invalid syntax in PIP install XXX
- Solution to syntaxerror: invalid syntax in PIP install XXX
- Syntaxerror: invalid syntax when executing PIP install XXX
- Error in PIP command execution – syntax error: invalid syntax
- [Python] error syntax error: summary of solutions to invalid syntax
- Syntax error: invalid syntax
- Syntax error: invalid syntax before Python string
- Repo reports an error syntax error: invalid syntax
- Syntax error: invalid character in identifier
- Python: print syntax error: problem with invalid syntax error
- Invalid DN syntax (34)
- Error reported in Python: syntax error: invalid character in identifier
- File “manage.py“, line 17 ) from exc ^ SyntaxError: invalid syntax
- Exception occurred when Django created app: from exc ^ syntaxerror: invalid syntax
- [Err] ERROR: invalid input syntax for integer: “1.0”
- Solve the syntax error of Python PIP installation sys.stderr.write (f“ERROR: {exc}“)
- LDAP: error code 21 – objectclass: value ා 0 invalid per syntax
- [!] Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword_end.
- Syntax error, syntax expected name
- Docker machine install syntax error near unexpected token ‘newline’! DOCTYPE HTML problem resolution