python2.7在virtualenv错误中安装MySQL-python“退出状态2失败”

时间:2016-12-26 07:25:15

标签: python mysql django virtualenv

enter image description here

在virtualenv中,我无法设置类似 function myFunction() { // Data Sheet var ss = SpreadsheetApp.getActiveSpreadsheet(); var dataSheet = ss.getSheets()[0]; var data = dataSheet.getDataRange().getValues(); //You can change these for each Region var regionAId = "SPREADSHEET KEY for RegionA" var regionA = "Region A"; var regionAdata = SpreadsheetApp.openById(regionAId); var regionBId = "SPREADSHEET KEY for RegionB" var regionB = "Region B"; var regionBdata = SpreadsheetApp.openById(regionBId); //add the other regions for ( var i=0; i < data.length; i++) { if (data[i][0] == regionA){ regionAdata.appendRow(data[i]) } if (data[i][0] == regionB){ regionBdata.appendRow(data[i]) } //add the other regions } }的包。

平台:win10 x64 python2.7.12 mysql

1 个答案:

答案 0 :(得分:0)

您可以尝试MySQL-python-1.2.3.win32-py2.7.exe下载网站:http://www.codegood.com/archives/129