Released:
Python interface to MySQL
Jul 23, 2018 Wordcloud fails to install with pip under Windows 10 Python 3.5 Anaconda ONLY SOLUTION: (2:40) directly solution Command Pallet: Commands. I'm unable to 'pip install mysqlclient', and every attempt returns the error: 'ERROR: Failed building wheel for mysqlclient'. For context, I'm running on macOS Mojave 10.14.5. The rest of this post.
Project description
This is a fork of MySQLdb1.
This project adds Python 3 support and bug fixes.I hope this fork is merged back to MySQLdb1 like distribute was merged back to setuptools.
Support
Do Not use Github Issue Tracker to ask help. OSS Maintainer is not free tech support
When your question looks relating to Python rather than MySQL:
Or when you have question about MySQL:
InstallWindows
Building mysqlclient on Windows is very hard.But there are some binary wheels you can install easily.
macOS (Homebrew)
Install MySQL and mysqlclient:
If you don't want to install MySQL server, you can use mysql-client instead:
Linux
Note that this is a basic step. I can not support complete step for build for allenvironment. If you can see some error, you should fix it by yourself, or ask forsupport in some user forum. Don't file a issue on the issue tracker.
You may need to install the Python 3 and MySQL development headers and libraries like so:
Then you can install mysqlclient via pip now:
Documentation
Documentation is hosted on Read The Docs
Release historyRelease notifications | RSS feed
2.0.1
2.0.0
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2.post1
1.4.2
1.4.1
1.4.0
1.4.0rc3 pre-release
1.4.0rc2 pre-release
Failed Building Wheel For Mysqlclient Macos 7
1.4.0rc1 pre-release
1.3.14
1.3.13
1.3.12
1.3.11
![]()
1.3.11rc1 pre-release
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for mysqlclient-2.0.1-cp36-cp36m-win_amd64.whl
Hashes for mysqlclient-2.0.1-cp37-cp37m-win_amd64.whl
Hashes for mysqlclient-2.0.1-cp38-cp38-win_amd64.whl
Hashes for mysqlclient-2.0.1.tar.gz
What are wheels?
Wheels are the new standard of Python distribution and are intended to replace eggs. Support is offered in
pip >= 1.4 and setuptools >= 0.8 .
Failed Building Wheel For Mysqlclient Macos 8Advantages of wheels
What is this list?
This site shows the top 360 most-downloaded packages on PyPI showing which have been uploaded as wheel archives.
Packages that are known to be deprecated are not included. (For example distribute). If your package is incorrectly listed, please create a ticket.
This used to show the all-time most-downloaded packages. The all-time list is no longer available, and the packages in the last-365-days list will change to reflect more closely what the Python community is using.
This is not the official website for wheels, just a nice visual way to measure adoption. To see the authoritative guide on wheels and other aspects of Python packaging, see the Python Packaging User Guide.
Failed Building Wheel For Mysqlclient Macos 10My package is white. What can I do?Pure Python
If you have a pure Python package that is not using 2to3 for Python 3 support, you've got it easy. Make sure Wheel is installed…
…and when you'd normally run
python setup.py sdist , run instead python setup.py sdist bdist_wheel . For a more in-depth explanation, see this guide on sharing your labor of love.
Note: If your project is Python 2 and 3 compatible you can create a universal wheel distribution. Create a file called
setup.cfg with the following content and upload your package.
Warning: If your project has optional C extensions, it is recommended not to publish a universal wheel, because pip will prefer the wheel over a source installation.
Note: To include your project's license file in the wheel distribution, specify the
license_files key in the [metadata] section. This helps comply with many open source licenses that require the license text to be included in every distributable artifact of the project. This option requires wheel 0.32 or newer.
C extensions
PyPI currently allows uploading platform-specific wheels for Windows, macOS and Linux. It is useful to create wheels for these platforms, as it avoids the need for your users to compile the package when installing.
Mysqlclient Wheel Windows
You will need to have access to the platform you are building for.
Something's wrong with this page!
Fantastic, a problem found is a problem fixed. Please create a ticket!
You can also submit a pull-request.
Note: Requests for behavioural changes in the packaging tools themselves should be directed to distutils-sig and the Python Packaging Authority.
Thanks
Thanks to the Python 3 Wall of Superpowers for the concept and making their code open source, Donald Stufft for his help on IRC, James Turnbull for the intro copy, and George Hickman for pointing me in the right direction as usual.
Thanks also to the many contributors.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |