Athttps://pypi.org/project/pip/#downloadsDownload and enter python setup.py install from the directory to the console to install pip 20.0.2, and try to install the pymysql plug-in using pip install, an error is reported:
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> pip install pymysql
File "<stdin>", line 1
pip install pymysql
^
SyntaxError: invalid syntax
>>>
Exit the python 3.8.2 environment, re-enter the command, and successfully install the plug-in:
F:\python\Scripts> pip install pymysql
Collecting pymysql
Downloading PyMySQL-0.9.3-py2.py3-none-any.whl (47 kB)
|████████████████████████████████| 47 kB 309 kB/s
Installing collected packages: pymysql
Successfully installed pymysql-0.9.3
PS F:\python\Scripts> pip list
Package Version
---------- -------
pip 20.0.2
PyMySQL 0.9.3
setuptools 41.2.0
Attached drawing:

SyntaxError: invalid syntax SyntaxError: invalid syntax such as input Report an error File “”, line 1 print “Hello,World” SyntaxError: Missing parentheses in call to ‘pri...
Help: SyntaxError: invalid syntax Display after running: C:\Users\carrie\Desktop\test>C:/Users/carrie/AppData/Local/Programs/Python/Python37/python.exe c:/Users/carrie/Desktop/test/automated office...
Solution:...
About pip install xxx error SyntaxError: invalid syntax of the solution Statement: 1 The following Examples are pip install requests; 2.Windows system; First of all, to see whether they run in the pip...
Python-pip install xxx reports SyntaxError: invalid syntax After installing python, after entering the python running environment, because I want to use pip to install the third-party libraries needed...
Use the command Easy_install to install the PIP Use commandsudo easy_install pip Install PIP, the result fails, the information of the execution command is as follows: solution Download script file ge...
Python: pip installation error: Solution: deletepip-19.0.1.dist-infoDirectory, reinstallation is successful....
We use when installing pyspiders: After installing, we have to run Pyspider after installation. Open the command prompt directly: Enter the Pyspider to run, but this time there is an error. Such an ex...
Question: solve: This problem should generally appear in python 2.x version Key import:...
Squeamish python language python this language, which fire a few years, all the people are python, whether professional or non-CS CS professional, mentioning the program, the opening is python....