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.
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:
- [Python] error syntax error: summary of solutions to invalid syntax
- Linux update Python method and error handling
- Solving syntax error: unexpected character after line continuation character
- File “manage.py“, line 17 ) from exc ^ SyntaxError: invalid syntax
- Solution to syntaxerror: invalid syntax in PIP install XXX
- Error in PIP command execution – syntax error: invalid syntax
- Module build failed: SyntaxError: Unexpected token
- In Python, import XXX does not report an error, but in IPython (Jupiter notebook)
- Syntax error: invalid syntax
- Excel pivot table data source not valid
- Failed building wheel for twisted solution appears after installing scratch
- Syntaxerror: invalid syntax when executing PIP install XXX
- Fatal Python error: initfsencoding: unable to load the file system codec
- Solution: PIP install MySQL Python has the following problems
- Use the Zsh plug-in ‘Zsh syntax highlighting’ to highlight your available Zsh commands
- Python error: syntax error: encoding problem: utf8
- Solution to “Ruby / San check”
- How to Fix Error in python3 | PIP install Dlib
- Invalid DN syntax (34)
- Solution to command line option syntax error. Type command /? For help