0

Simply I'm trying to connect Flask with MySQL DB

  • I have Python 3.6 version and

    $pip3 --version

o/p : pip 9.0.1 from /usr/local/lib/python3.6/site-packages (python 3.6)

While installing flask-mysqldb extension getting error mysql config not found. As mentioned in site http://flask-mysqldb.readthedocs.io/en/latest/ there's support only Python 2.7, 3.4 and 3.5 what about 3.6 ? is there any good alternative to flask-mysqldb ?

  • It's quite unusual that python3.5 source code would fail in python3.6 interpreter. Can you provide exact error message you're receiving and verify if installing it on Python 3.5 works, when it breaks on Python 3.6? Environment issue is much more likely than source code incompatibility. – Łukasz Rogalski Jan 26 '17 at 10:44
  • Nope even its not installing with Python3.5 – Sanjay Shiradwade Jan 26 '17 at 12:30
  • Nope even its not installing with Python3.5 and 2.7 here's complete error log [link]( http://pastebin.com/SSkB3q6B) , and [link] (http://pastebin.com/bpX2J85C) error log with 3.6 here [link](http://pastebin.com/EBKJi2BG ) – Sanjay Shiradwade Jan 26 '17 at 12:42

0 Answers0