Mysql-python Compile Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta pip install mysql-python mysql_config not found Discuss the workings and policies of this site About Us Learn more pip install mysql-python windows about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack
Failed Building Wheel For Mysql-python
Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping
_mysql.c:29:20: Fatal Error: Python.h: No Such File Or Directory
each other. Join them; it only takes a minute: Sign up Unable to install MySQL-python up vote 13 down vote favorite 10 Okay I recently upgraded from Ubuntu 10.04 to 12.04 Only to be faced by a lot of problems. I am a newbie at this so you might have to tell me in a little more mysql_config not found mac detail or step-by-step I had a django project that was working perfectly but now it gives me this error : File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 16, in
here for a quick overview of the site Help Center Detailed answers to any questions you
Failed Building Wheel For Mysql-python Windows
might have Meta Discuss the workings and policies of this site libmysqlclient-dev mac About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or sh: mysql_config: command not found posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of http://stackoverflow.com/questions/12993708/unable-to-install-mysql-python 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error installing MySQL-python on RHEL 6 up vote 1 down vote favorite I have tried yum install MYSQL-python, pip install MySQL-python and easy_install MySQL-python. Get this error: error: command 'gcc' failed with exit status 1 Cleaning up... http://stackoverflow.com/questions/26229297/error-installing-mysql-python-on-rhel-6 Command /usr/local/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/MySQL-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-rpOkcR-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/MySQL-python Traceback (most recent call last): File "/usr/local/bin/pip", line 8, in
Sign in Pricing Blog Support Search GitHub This repository Watch https://github.com/PyMySQL/mysqlclient-python/issues/86 34 Star 428 Fork 64 PyMySQL/mysqlclient-python Code Issues 3 https://dev.mysql.com/doc/connector-python/en/connector-python-installation.html Pull requests 1 Projects 0 Wiki Pulse Graphs New issue Error pip install MySQL-python [ i am using Python 3.5 in windows 10 ] #86 Closed algobasket opened this Issue May 12, 2016 · 3 comments Projects not found None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants algobasket commented May 12, 2016 Error message : (myenv) E:\py-test>pip install MySQL-python Collecting MySQL-python Using cached MySQL-python-1.2.5.zip Building wheels for collected packages: MySQL-python Running setup.py bdist_wheel for MySQL-python ... pip install mysql-python error Complete output from command e:\py-test\myenv\scripts\python.exe -u -c "import setuptools, tokenize;file='C:\Users\ALGOBA~1\AppData\Local\Temp\pip-build-i0p6rlub\MySQL-python\setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d C:\Users\ALGOBA~1\AppData\Local\Temp\tmp7hy7_45apip-wheel- --python-tag cp35: running bdist_wheel running build running build_py creating build creating build\lib.win32-3.5 copying mysql_exceptions.py -> build\lib.win32-3.5 creating build\lib.win32-3.5\MySQLdb copying MySQLdb__init_.py -> build\lib.win32-3.5\MySQLdb copying MySQLdb\converters.py -> build\lib.win32-3.5\MySQLdb copying MySQLdb\connections.py -> build\lib.win32-3.5\MySQLdb copying MySQLdb\cursors.py -> build\lib.win32-3.5\MySQLdb copying MySQLdb\release.py -> build\lib.win32-3.5\MySQLdb copying MySQLdb\times.py -> build\lib.win32-3.5\MySQLdb creating build\lib.win32-3.5\MySQLdb\constants copying MySQLdb\constants__init__.py -> build\lib.win32-3.5\MySQLdb\constants copying MySQLdb\constants\CR.py -> build\lib.win32-3.5\MySQLdb\constants copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-3.5\MySQLdb\constants copying MySQLdb\constants\ER.py -> build\lib.win32-3.5\MySQLdb\constants copying MySQLdb\constants\FLAG.py -> build\lib.win32-3.5\MySQLdb\constants copying MySQLdb\constants\REFRESH.py -> build\lib.win32-3.5\MySQLdb\constants copying MySQLdb\constants\CLIENT.py -> build\lib.win32-3.5\MySQLdb\constants running build_ext building '_mysql' extension error: Unable to find vcvarsall.bat Failed building wheel for MySQL-python Running setup.py clean for MySQL-python Failed to build MySQL-python Installing collected packages: MySQL-python Running setup.py install for MySQL-python ... error Complete output from command e:\py-test\myenv\scripts\python.exe -u -c "import setuptools, tokenize;file='C:\Users\ALGOBA~1\AppData\Local\Temp\pip-bui
Connectors More MySQL.com Downloads Developer Zone Section Menu: Documentation Home MySQL Connector/Python Developer Guide Preface and Legal Notices Introduction to MySQL Connector/Python Guidelines for Python Developers Connector/Python Versions Connector/Python Installation Obtaining Connector/Python Installing Connector/Python from a Binary Distribution Installing Connector/Python from a Source Distribution Verifying Your Connector/Python Installation Connector/Python Coding Examples Connector/Python Tutorials Connector/Python Connection Establishment The Connector/Python C Extension Connector/Python Other Topics Connector/Python API Reference Connector/Python C Extension API Reference Index Related Documentation MySQL Connector/Python Release Notes Download this Manual PDF (US Ltr) - 0.6Mb PDF (A4) - 0.6Mb EPUB - 136.7Kb HTML Download (TGZ) - 85.5Kb HTML Download (Zip) - 103.3Kb MySQL Connector/Python Developer Guide / Connector/Python Installation Chapter 4 Connector/Python Installation Table of Contents[+/-] 4.1 Obtaining Connector/Python 4.2 Installing Connector/Python from a Binary Distribution 4.3 Installing Connector/Python from a Source Distribution 4.4 Verifying Your Connector/Python Installation Connector/Python runs on any platform where Python is installed. Python comes preinstalled on most Unix and Unix-like systems, such as Linux, OS X, and FreeBSD. On Microsoft Windows, a Python installer is available at the Python Download website. If necessary, download and install Python for Windows before attempting to install Connector/Python. Note Connector/Python requires python to be in the system's PATH and installation fails if python cannot be located. On Unix and Unix-like systems, python is normally located in a directory included in the default PATH setting. On Windows, if you install Python, either enable Add python.exe to Path during the installation process, or manually add the directory containing python.exe yourself. For more information about installation and configuration of Python on Windows, see Using Python on Windows in the Python documentation. Connector/Python implements the MySQL client/server protocol two ways: As pure Python. This implementation of the protocol does not require any other MySQL client libraries or other components. As a C Extension that interfaces with the MySQL C client library. This implementation of the protocol is dependent on the client library, but