我正在尝试Pypy编译器,看看我是否可以加速我的代码。然而,我在使用MySQLdb模块时遇到了问题,Pypy找不到这个模块。我读到过MySQLdb 1.2.4应该可以很好地使用Pypy,所以我升级了模块,并用CPython编译器测试了它是正确的版本:MySQLdb.``-FIRST they ignore you, then they
laugh at you, then they fight you, then you win.-''
使用pyinstaller编译a-onefile或a时会出现以下问题。# from http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python db = MySQLdb.connect(host=hostname,user=username,passwd=password)
except <