In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to install MySQLdb in windows. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
1. Environment (windows10 + python3.8)
II. Installation (failure)
1. Install through the command line: pip install MySQLdb
2. Upgrade the pip version of python: python-m pip install-- upgrade pip
3. Execute the command again: pip install MySQLdb-v
\
The above problems are consistent with what is said on the Internet: python installs MySQLdb in windows environment
Manual compilation and installation [quick installation of python MySQLdb in windows environment, problem solving]
1. Install setuptools and download the setuptools-50.3.0-py3-none-any.whl file to the python\ Scripts directory
Run the command: pip install setuptools-50.3.0-py3-none-any.whl
2. Install MySQLdb and download the mysqlclient-2.0.1-cp38-cp38-win_amd64.whl file to the python\ Scripts directory
Run the command: pip install setuptools-50.3.0-py3-none-any.whl
3. Start python and execute the command: import MySQLdb
Pip related commands 1, pip show packagename view installed package 2, pip list lists all installation packages 3, pip list-outdated detection update 4, pip install-- upgrade packagename upgrade package 5, pip uninstall packagename uninstall package 5, the above is how to install MySQLdb in windows, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.