![]() ![]() ![]() Installing collected packages: six, protobuf, mysql-connector-python ![]() Requirement already satisfied: setuptools in c:\users\ryan\appdata\local\programs\python\python37\lib\site-packages (from protobuf>=3.0.0->mysql-connector-python) (40.4.3)Ĭollecting six>=1.9 (from protobuf>=3.0.0->mysql-connector-python) Input: pip install mysql-connector-python The command prompt will show you this: PS C:\Users\Ryan>Įxcept instead of my username, it'll show your username, or the path you navigated to after you found pip, like "C:\blah\blah". Or make sure that pip's directory is included in the $PATH variable (which you can edit by searching for "PATH" in the Start Menu). Navigate to the directory where pip is installed. In fact, the official documentation says this is the recommended method for installing the MySQL Connector.įor example, on Windows, open up the Command Prompt ( cmd.exe) by searching in the Start Menu. The package that you want is mysql-connector-python. It downloads the package from the PyPI repository and installs it in an automatic location based on what version of Python (or what virtual copy) you use to install it. The Python package manager comes with Python, called pip. To install for a newer version of Python, use option 2. It is only aware of Python version 3.6, and nothing newer. There are two ways to install MySQL connector. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |