farcepest/MySQLdb1

Installation problem on Windows

Opened this issue · 6 comments

Can not compile under Python 2.7 with installed Visual Studio and MySQL/Connector/C++

    running build_ext
    building '_mysql' extension
    creating build\temp.win32-2.7
    creating build\temp.win32-2.7\Release
    C:\Users\vit12\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6
.0.2\include" -Ic:\python27\include -Ic:\python27\PC /Tc_mysql.c /Fobuild\temp.win32-2.7\Release\_mysql.obj /Zl
    _mysql.c
    _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
    error: command 'C:\\Users\\vit1251\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\
cl.exe' failed with exit status 2

Have you tried mysqlclient ?

@methane mysqlclient is work! But why @farcepest does not resolve issues in MySQLdb? @farcepest is leave MySQLdb support?

Yes, MySQLdb is unmaintained for the time being.

@claudep most old documentation and project have reference to MySQL-python. How about start activity to inform each developing application and all Linux distribution to start migration?

Today most library is outdated and ecosystem have too many grbage. Earlay I use PIL and also have Pillow redirection and more and more another project with lost support. How to transporent resolv this problem?

@methane cool. I think pip may make virtual package like apt-get. When people request old package it may show Warning and ask about install another package or install silent in non-interactive mode.