Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.16 KB | None | 0 0
  1. (test) D:\Work\kchv>pip install -r requirements.txt
  2. Requirement already satisfied (use --upgrade to upgrade): Django==1.6.5 in d:\work\venv\test\lib\site-packages (from -r requirements.txt (line 1))
  3. Downloading/unpacking MySQL-python==1.2.5 (from -r requirements.txt (line 2))
  4. Running setup.py (path:D:\Work\venv\test\build\MySQL-python\setup.py) egg_info for package MySQL-python
  5.  
  6. Downloading/unpacking South==1.0 (from -r requirements.txt (line 3))
  7. Running setup.py (path:D:\Work\venv\test\build\South\setup.py) egg_info for package South
  8.  
  9. Downloading/unpacking argparse==1.2.1 (from -r requirements.txt (line 4))
  10. Running setup.py (path:D:\Work\venv\test\build\argparse\setup.py) egg_info for package argparse
  11.  
  12. warning: no previously-included files matching '*.pyc' found anywhere in distribution
  13. warning: no previously-included files matching '*.pyo' found anywhere in distribution
  14. warning: no previously-included files matching '*.orig' found anywhere in distribution
  15. warning: no previously-included files matching '*.rej' found anywhere in distribution
  16. no previously-included directories found matching 'doc\_build'
  17. no previously-included directories found matching 'env24'
  18. no previously-included directories found matching 'env25'
  19. no previously-included directories found matching 'env26'
  20. no previously-included directories found matching 'env27'
  21. Downloading/unpacking django-annoying==0.8.0 (from -r requirements.txt (line 5))
  22. Downloading django-annoying-0.8.0.tar.gz
  23. Running setup.py (path:D:\Work\venv\test\build\django-annoying\setup.py) egg_info for package django-annoying
  24.  
  25. Downloading/unpacking djangorestframework==2.3.14 (from -r requirements.txt (line 6))
  26. Downloading/unpacking phonenumbers==6.2.0 (from -r requirements.txt (line 7))
  27. Running setup.py (path:D:\Work\venv\test\build\phonenumbers\setup.py) egg_info for package phonenumbers
  28.  
  29. warning: no files found matching 'MANIFEST'
  30. warning: no previously-included files found matching '.*ignore'
  31. Downloading/unpacking pytils==0.3 (from -r requirements.txt (line 8))
  32. Running setup.py (path:D:\Work\venv\test\build\pytils\setup.py) egg_info for package pytils
  33.  
  34. warning: no files found matching 'README'
  35. Downloading/unpacking requests==2.3.0 (from -r requirements.txt (line 9))
  36. Downloading/unpacking unicodecsv==0.9.4 (from -r requirements.txt (line 10))
  37. Downloading unicodecsv-0.9.4.tar.gz
  38. Running setup.py (path:D:\Work\venv\test\build\unicodecsv\setup.py) egg_info for package unicodecsv
  39.  
  40. Downloading/unpacking wsgiref==0.1.2 (from -r requirements.txt (line 11))
  41. Downloading wsgiref-0.1.2.zip
  42. Running setup.py (path:D:\Work\venv\test\build\wsgiref\setup.py) egg_info for package wsgiref
  43.  
  44. Downloading/unpacking django-bootstrap-form==3.1 (from -r requirements.txt (line 12))
  45. Downloading django-bootstrap-form-3.1.tar.gz
  46. Running setup.py (path:D:\Work\venv\test\build\django-bootstrap-form\setup.py) egg_info for package django-bootstrap-form
  47.  
  48. Installing collected packages: MySQL-python, South, argparse, django-annoying, djangorestframework, phonenumbers, pytils, requests, unicodecsv, wsgire
  49. f, django-bootstrap-form
  50. Running setup.py install for MySQL-python
  51. building '_mysql' extension
  52. C:\msysgit\msysgit\mingw\bin\gcc.exe -mdll -O -Wall -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Con
  53. nector C 6.0.2\include" -ID:\Programs\Python27\include -ID:\Work\venv\test\PC -c _mysql.c -o build\temp.win32-2.7\Release\_mysql.o /Zl
  54. _mysql.c:42:24: error: config-win.h: No such file or directory
  55. _mysql.c:46:19: error: mysql.h: No such file or directory
  56. _mysql.c:47:26: error: mysqld_error.h: No such file or directory
  57. _mysql.c:48:20: error: errmsg.h: No such file or directory
  58. _mysql.c:88: error: expected specifier-qualifier-list before 'MYSQL'
  59. _mysql.c:102: error: expected specifier-qualifier-list before 'MYSQL_RES'
  60. _mysql.c: In function '_mysql_Exception':
  61. _mysql.c:146: warning: implicit declaration of function 'mysql_errno'
  62. _mysql.c:146: error: '_mysql_ConnectionObject' has no member named 'connection'
  63. _mysql.c:149: error: 'CR_MAX_ERROR' undeclared (first use in this function)
  64. _mysql.c:149: error: (Each undeclared identifier is reported only once
  65. _mysql.c:149: error: for each function it appears in.)
  66. _mysql.c:161: error: 'CR_COMMANDS_OUT_OF_SYNC' undeclared (first use in this function)
  67. _mysql.c:162: error: 'ER_DB_CREATE_EXISTS' undeclared (first use in this function)
  68. _mysql.c:163: error: 'ER_SYNTAX_ERROR' undeclared (first use in this function)
  69. _mysql.c:164: error: 'ER_PARSE_ERROR' undeclared (first use in this function)
  70. _mysql.c:165: error: 'ER_NO_SUCH_TABLE' undeclared (first use in this function)
  71. _mysql.c:166: error: 'ER_WRONG_DB_NAME' undeclared (first use in this function)
  72. _mysql.c:167: error: 'ER_WRONG_TABLE_NAME' undeclared (first use in this function)
  73. _mysql.c:168: error: 'ER_FIELD_SPECIFIED_TWICE' undeclared (first use in this function)
  74. _mysql.c:169: error: 'ER_INVALID_GROUP_FUNC_USE' undeclared (first use in this function)
  75. _mysql.c:170: error: 'ER_UNSUPPORTED_EXTENSION' undeclared (first use in this function)
  76. _mysql.c:171: error: 'ER_TABLE_MUST_HAVE_COLUMNS' undeclared (first use in this function)
  77. _mysql.c:200: error: 'ER_DUP_ENTRY' undeclared (first use in this function)
  78. _mysql.c:246: warning: implicit declaration of function 'mysql_error'
  79. _mysql.c:246: error: '_mysql_ConnectionObject' has no member named 'connection'
  80. _mysql.c:246: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  81. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  82. _mysql.c: In function '_mysql_server_init':
  83. _mysql.c:351: warning: label 'finish' defined but not used
  84. _mysql.c:268: warning: unused variable 'item'
  85. _mysql.c:267: warning: unused variable 'groupc'
  86. _mysql.c:267: warning: unused variable 'i'
  87. _mysql.c:267: warning: unused variable 'cmd_argc'
  88. _mysql.c:266: warning: unused variable 's'
  89. _mysql.c: In function '_mysql_ResultObject_Initialize':
  90. _mysql.c:406: error: 'MYSQL_RES' undeclared (first use in this function)
  91. _mysql.c:406: error: 'result' undeclared (first use in this function)
  92. _mysql.c:411: error: 'MYSQL_FIELD' undeclared (first use in this function)
  93. _mysql.c:411: error: 'fields' undeclared (first use in this function)
  94. _mysql.c:425: error: '_mysql_ResultObject' has no member named 'use'
  95. _mysql.c:428: warning: implicit declaration of function 'mysql_use_result'
  96. _mysql.c:428: error: '_mysql_ConnectionObject' has no member named 'connection'
  97. _mysql.c:430: warning: implicit declaration of function 'mysql_store_result'
  98. _mysql.c:430: error: '_mysql_ConnectionObject' has no member named 'connection'
  99. _mysql.c:431: error: '_mysql_ResultObject' has no member named 'result'
  100. _mysql.c:434: warning: implicit declaration of function 'mysql_field_count'
  101. _mysql.c:434: error: '_mysql_ConnectionObject' has no member named 'connection'
  102. _mysql.c:438: error: '_mysql_ResultObject' has no member named 'converter'
  103. _mysql.c:442: warning: implicit declaration of function 'mysql_num_fields'
  104. _mysql.c:443: error: '_mysql_ResultObject' has no member named 'nfields'
  105. _mysql.c:444: error: '_mysql_ResultObject' has no member named 'converter'
  106. _mysql.c:448: warning: implicit declaration of function 'mysql_fetch_fields'
  107. _mysql.c:489: error: 'BINARY_FLAG' undeclared (first use in this function)
  108. _mysql.c:512: error: '_mysql_ResultObject' has no member named 'converter'
  109. _mysql.c: In function '_mysql_ResultObject_traverse':
  110. _mysql.c:526: error: '_mysql_ResultObject' has no member named 'converter'
  111. _mysql.c:527: error: '_mysql_ResultObject' has no member named 'converter'
  112. _mysql.c: In function '_mysql_ResultObject_clear':
  113. _mysql.c:538: error: '_mysql_ResultObject' has no member named 'converter'
  114. _mysql.c:538: error: '_mysql_ResultObject' has no member named 'converter'
  115. _mysql.c:538: error: '_mysql_ResultObject' has no member named 'converter'
  116. _mysql.c:538: error: '_mysql_ResultObject' has no member named 'converter'
  117. _mysql.c:539: error: '_mysql_ResultObject' has no member named 'converter'
  118. _mysql.c: In function '_mysql_ConnectionObject_Initialize':
  119. _mysql.c:551: error: 'MYSQL' undeclared (first use in this function)
  120. _mysql.c:551: error: 'conn' undeclared (first use in this function)
  121. _mysql.c:584: error: '_mysql_ConnectionObject' has no member named 'converter'
  122. _mysql.c:585: error: '_mysql_ConnectionObject' has no member named 'open'
  123. _mysql.c:636: warning: implicit declaration of function 'mysql_init'
  124. _mysql.c:636: error: '_mysql_ConnectionObject' has no member named 'connection'
  125. _mysql.c:639: warning: implicit declaration of function 'mysql_options'
  126. _mysql.c:639: error: '_mysql_ConnectionObject' has no member named 'connection'
  127. _mysql.c:639: error: 'MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function)
  128. _mysql.c:655: error: '_mysql_ConnectionObject' has no member named 'connection'
  129. _mysql.c:655: error: 'MYSQL_OPT_COMPRESS' undeclared (first use in this function)
  130. _mysql.c:656: error: 'CLIENT_COMPRESS' undeclared (first use in this function)
  131. _mysql.c:659: error: '_mysql_ConnectionObject' has no member named 'connection'
  132. _mysql.c:659: error: 'MYSQL_OPT_NAMED_PIPE' undeclared (first use in this function)
  133. _mysql.c:661: error: '_mysql_ConnectionObject' has no member named 'connection'
  134. _mysql.c:661: error: 'MYSQL_INIT_COMMAND' undeclared (first use in this function)
  135. _mysql.c:663: error: '_mysql_ConnectionObject' has no member named 'connection'
  136. _mysql.c:663: error: 'MYSQL_READ_DEFAULT_FILE' undeclared (first use in this function)
  137. _mysql.c:665: error: '_mysql_ConnectionObject' has no member named 'connection'
  138. _mysql.c:665: error: 'MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
  139. _mysql.c:668: error: '_mysql_ConnectionObject' has no member named 'connection'
  140. _mysql.c:668: error: 'MYSQL_OPT_LOCAL_INFILE' undeclared (first use in this function)
  141. _mysql.c:676: warning: implicit declaration of function 'mysql_real_connect'
  142. _mysql.c:676: error: '_mysql_ConnectionObject' has no member named 'connection'
  143. _mysql.c:694: error: '_mysql_ConnectionObject' has no member named 'converter'
  144. _mysql.c:702: error: '_mysql_ConnectionObject' has no member named 'open'
  145. _mysql.c: In function '_mysql_ConnectionObject_traverse':
  146. _mysql.c:783: error: '_mysql_ConnectionObject' has no member named 'converter'
  147. _mysql.c:784: error: '_mysql_ConnectionObject' has no member named 'converter'
  148. _mysql.c: In function '_mysql_ConnectionObject_clear':
  149. _mysql.c:792: error: '_mysql_ConnectionObject' has no member named 'converter'
  150. _mysql.c:792: error: '_mysql_ConnectionObject' has no member named 'converter'
  151. _mysql.c:792: error: '_mysql_ConnectionObject' has no member named 'converter'
  152. _mysql.c:792: error: '_mysql_ConnectionObject' has no member named 'converter'
  153. _mysql.c:793: error: '_mysql_ConnectionObject' has no member named 'converter'
  154. _mysql.c: In function '_mysql_ConnectionObject_close':
  155. _mysql.c:808: error: '_mysql_ConnectionObject' has no member named 'open'
  156. _mysql.c:810: warning: implicit declaration of function 'mysql_close'
  157. _mysql.c:810: error: '_mysql_ConnectionObject' has no member named 'connection'
  158. _mysql.c:812: error: '_mysql_ConnectionObject' has no member named 'open'
  159. _mysql.c: In function '_mysql_ConnectionObject_affected_rows':
  160. _mysql.c:834: error: '_mysql_ConnectionObject' has no member named 'open'
  161. _mysql.c:835: warning: implicit declaration of function 'mysql_affected_rows'
  162. _mysql.c:835: error: '_mysql_ConnectionObject' has no member named 'connection'
  163. _mysql.c: In function '_mysql_debug':
  164. _mysql.c:851: warning: implicit declaration of function 'mysql_debug'
  165. _mysql.c: In function '_mysql_ConnectionObject_dump_debug_info':
  166. _mysql.c:869: error: '_mysql_ConnectionObject' has no member named 'open'
  167. _mysql.c:871: warning: implicit declaration of function 'mysql_dump_debug_info'
  168. _mysql.c:871: error: '_mysql_ConnectionObject' has no member named 'connection'
  169. _mysql.c: In function '_mysql_ConnectionObject_autocommit':
  170. _mysql.c:895: warning: implicit declaration of function 'mysql_query'
  171. _mysql.c:895: error: '_mysql_ConnectionObject' has no member named 'connection'
  172. _mysql.c: In function '_mysql_ConnectionObject_get_autocommit':
  173. _mysql.c:912: error: '_mysql_ConnectionObject' has no member named 'connection'
  174. _mysql.c:912: error: 'SERVER_STATUS_AUTOCOMMIT' undeclared (first use in this function)
  175. _mysql.c: In function '_mysql_ConnectionObject_commit':
  176. _mysql.c:932: error: '_mysql_ConnectionObject' has no member named 'connection'
  177. _mysql.c: In function '_mysql_ConnectionObject_rollback':
  178. _mysql.c:954: error: '_mysql_ConnectionObject' has no member named 'connection'
  179. _mysql.c: In function '_mysql_ConnectionObject_errno':
  180. _mysql.c:1070: error: '_mysql_ConnectionObject' has no member named 'open'
  181. _mysql.c:1071: error: '_mysql_ConnectionObject' has no member named 'connection'
  182. _mysql.c: In function '_mysql_ConnectionObject_error':
  183. _mysql.c:1086: error: '_mysql_ConnectionObject' has no member named 'open'
  184. _mysql.c:1090: error: '_mysql_ConnectionObject' has no member named 'connection'
  185. _mysql.c:1090: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  186. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  187. _mysql.c: In function '_mysql_escape_string':
  188. _mysql.c:1123: warning: implicit declaration of function 'mysql_escape_string'
  189. _mysql.c: In function '_mysql_escape':
  190. _mysql.c:1252: error: '_mysql_ConnectionObject' has no member named 'converter'
  191. _mysql.c: In function '_mysql_ResultObject_describe':
  192. _mysql.c:1332: error: 'MYSQL_FIELD' undeclared (first use in this function)
  193. _mysql.c:1332: error: 'fields' undeclared (first use in this function)
  194. _mysql.c:1335: error: '_mysql_ConnectionObject' has no member named 'open'
  195. _mysql.c:1336: error: '_mysql_ResultObject' has no member named 'result'
  196. _mysql.c:1337: error: '_mysql_ResultObject' has no member named 'result'
  197. _mysql.c:1348: warning: implicit declaration of function 'IS_NOT_NULL'
  198. _mysql.c: In function '_mysql_ResultObject_field_flags':
  199. _mysql.c:1368: error: 'MYSQL_FIELD' undeclared (first use in this function)
  200. _mysql.c:1368: error: 'fields' undeclared (first use in this function)
  201. _mysql.c:1371: error: '_mysql_ConnectionObject' has no member named 'open'
  202. _mysql.c:1372: error: '_mysql_ResultObject' has no member named 'result'
  203. _mysql.c:1373: error: '_mysql_ResultObject' has no member named 'result'
  204. _mysql.c: At top level:
  205. _mysql.c:1419: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  206. _mysql.c: In function '_mysql_row_to_tuple':
  207. _mysql.c:1425: error: '_mysql_ResultObject' has no member named 'result'
  208. _mysql.c:1427: warning: implicit declaration of function 'mysql_fetch_lengths'
  209. _mysql.c:1427: error: '_mysql_ResultObject' has no member named 'result'
  210. _mysql.c:1427: warning: assignment makes pointer from integer without a cast
  211. _mysql.c:1430: error: '_mysql_ResultObject' has no member named 'converter'
  212. _mysql.c:1431: error: 'row' undeclared (first use in this function)
  213. _mysql.c: At top level:
  214. _mysql.c:1444: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  215. _mysql.c: In function '_mysql_row_to_dict':
  216. _mysql.c:1449: error: 'MYSQL_FIELD' undeclared (first use in this function)
  217. _mysql.c:1449: error: 'fields' undeclared (first use in this function)
  218. _mysql.c:1451: error: '_mysql_ResultObject' has no member named 'result'
  219. _mysql.c:1453: error: '_mysql_ResultObject' has no member named 'result'
  220. _mysql.c:1453: warning: assignment makes pointer from integer without a cast
  221. _mysql.c:1454: error: '_mysql_ResultObject' has no member named 'result'
  222. _mysql.c:1457: error: '_mysql_ResultObject' has no member named 'converter'
  223. _mysql.c:1458: error: 'row' undeclared (first use in this function)
  224. _mysql.c: At top level:
  225. _mysql.c:1483: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  226. _mysql.c: In function '_mysql_row_to_dict_old':
  227. _mysql.c:1488: error: 'MYSQL_FIELD' undeclared (first use in this function)
  228. _mysql.c:1488: error: 'fields' undeclared (first use in this function)
  229. _mysql.c:1490: error: '_mysql_ResultObject' has no member named 'result'
  230. _mysql.c:1492: error: '_mysql_ResultObject' has no member named 'result'
  231. _mysql.c:1492: warning: assignment makes pointer from integer without a cast
  232. _mysql.c:1493: error: '_mysql_ResultObject' has no member named 'result'
  233. _mysql.c:1496: error: '_mysql_ResultObject' has no member named 'converter'
  234. _mysql.c:1497: error: 'row' undeclared (first use in this function)
  235. _mysql.c: At top level:
  236. _mysql.c:1519: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  237. _mysql.c: In function '_mysql__fetch_row':
  238. _mysql.c:1530: error: 'MYSQL_ROW' undeclared (first use in this function)
  239. _mysql.c:1530: error: expected ';' before 'row'
  240. _mysql.c:1534: error: '_mysql_ResultObject' has no member named 'use'
  241. _mysql.c:1535: error: 'row' undeclared (first use in this function)
  242. _mysql.c:1535: warning: implicit declaration of function 'mysql_fetch_row'
  243. _mysql.c:1535: error: '_mysql_ResultObject' has no member named 'result'
  244. _mysql.c:1538: error: '_mysql_ResultObject' has no member named 'result'
  245. _mysql.c:1541: error: '_mysql_ConnectionObject' has no member named 'connection'
  246. _mysql.c:1549: error: too many arguments to function 'convert_row'
  247. _mysql.c: In function '_mysql_ResultObject_fetch_row':
  248. _mysql.c:1573: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  249. _mysql.c:1588: error: '_mysql_ConnectionObject' has no member named 'open'
  250. _mysql.c:1600: error: '_mysql_ResultObject' has no member named 'use'
  251. _mysql.c:1614: warning: implicit declaration of function 'mysql_num_rows'
  252. _mysql.c:1614: error: '_mysql_ResultObject' has no member named 'result'
  253. _mysql.c: In function '_mysql_ConnectionObject_character_set_name':
  254. _mysql.c:1681: error: '_mysql_ConnectionObject' has no member named 'open'
  255. _mysql.c: In function '_mysql_get_client_info':
  256. _mysql.c:1792: warning: implicit declaration of function 'mysql_get_client_info'
  257. _mysql.c:1792: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  258. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  259. _mysql.c: In function '_mysql_ConnectionObject_get_host_info':
  260. _mysql.c:1807: error: '_mysql_ConnectionObject' has no member named 'open'
  261. _mysql.c:1811: warning: implicit declaration of function 'mysql_get_host_info'
  262. _mysql.c:1811: error: '_mysql_ConnectionObject' has no member named 'connection'
  263. _mysql.c:1811: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  264. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  265. _mysql.c: In function '_mysql_ConnectionObject_get_proto_info':
  266. _mysql.c:1826: error: '_mysql_ConnectionObject' has no member named 'open'
  267. _mysql.c:1827: warning: implicit declaration of function 'mysql_get_proto_info'
  268. _mysql.c:1827: error: '_mysql_ConnectionObject' has no member named 'connection'
  269. _mysql.c: In function '_mysql_ConnectionObject_get_server_info':
  270. _mysql.c:1841: error: '_mysql_ConnectionObject' has no member named 'open'
  271. _mysql.c:1845: warning: implicit declaration of function 'mysql_get_server_info'
  272. _mysql.c:1845: error: '_mysql_ConnectionObject' has no member named 'connection'
  273. _mysql.c:1845: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  274. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  275. _mysql.c: In function '_mysql_ConnectionObject_info':
  276. _mysql.c:1862: error: '_mysql_ConnectionObject' has no member named 'open'
  277. _mysql.c:1863: warning: implicit declaration of function 'mysql_info'
  278. _mysql.c:1863: error: '_mysql_ConnectionObject' has no member named 'connection'
  279. _mysql.c:1863: warning: assignment makes pointer from integer without a cast
  280. _mysql.c: In function '_mysql_ConnectionObject_insert_id':
  281. _mysql.c:1899: error: 'my_ulonglong' undeclared (first use in this function)
  282. _mysql.c:1899: error: expected ';' before 'r'
  283. _mysql.c:1901: error: '_mysql_ConnectionObject' has no member named 'open'
  284. _mysql.c:1903: error: 'r' undeclared (first use in this function)
  285. _mysql.c:1903: warning: implicit declaration of function 'mysql_insert_id'
  286. _mysql.c:1903: error: '_mysql_ConnectionObject' has no member named 'connection'
  287. _mysql.c: In function '_mysql_ConnectionObject_kill':
  288. _mysql.c:1920: error: '_mysql_ConnectionObject' has no member named 'open'
  289. _mysql.c:1922: warning: implicit declaration of function 'mysql_kill'
  290. _mysql.c:1922: error: '_mysql_ConnectionObject' has no member named 'connection'
  291. _mysql.c: In function '_mysql_ConnectionObject_field_count':
  292. _mysql.c:1941: error: '_mysql_ConnectionObject' has no member named 'open'
  293. _mysql.c:1943: error: '_mysql_ConnectionObject' has no member named 'connection'
  294. _mysql.c: In function '_mysql_ResultObject_num_fields':
  295. _mysql.c:1958: error: '_mysql_ConnectionObject' has no member named 'open'
  296. _mysql.c:1959: error: '_mysql_ResultObject' has no member named 'result'
  297. _mysql.c: In function '_mysql_ResultObject_num_rows':
  298. _mysql.c:1974: error: '_mysql_ConnectionObject' has no member named 'open'
  299. _mysql.c:1975: error: '_mysql_ResultObject' has no member named 'result'
  300. _mysql.c: In function '_mysql_ConnectionObject_ping':
  301. _mysql.c:2004: error: '_mysql_ConnectionObject' has no member named 'open'
  302. _mysql.c:2005: error: '_mysql_ConnectionObject' has no member named 'connection'
  303. _mysql.c:2007: warning: implicit declaration of function 'mysql_ping'
  304. _mysql.c:2007: error: '_mysql_ConnectionObject' has no member named 'connection'
  305. _mysql.c: In function '_mysql_ConnectionObject_query':
  306. _mysql.c:2028: error: '_mysql_ConnectionObject' has no member named 'open'
  307. _mysql.c:2030: warning: implicit declaration of function 'mysql_real_query'
  308. _mysql.c:2030: error: '_mysql_ConnectionObject' has no member named 'connection'
  309. _mysql.c: In function '_mysql_ConnectionObject_select_db':
  310. _mysql.c:2058: error: '_mysql_ConnectionObject' has no member named 'open'
  311. _mysql.c:2060: warning: implicit declaration of function 'mysql_select_db'
  312. _mysql.c:2060: error: '_mysql_ConnectionObject' has no member named 'connection'
  313. _mysql.c: In function '_mysql_ConnectionObject_shutdown':
  314. _mysql.c:2079: error: '_mysql_ConnectionObject' has no member named 'open'
  315. _mysql.c:2081: warning: implicit declaration of function 'mysql_shutdown'
  316. _mysql.c:2081: error: '_mysql_ConnectionObject' has no member named 'connection'
  317. _mysql.c: In function '_mysql_ConnectionObject_stat':
  318. _mysql.c:2106: error: '_mysql_ConnectionObject' has no member named 'open'
  319. _mysql.c:2108: warning: implicit declaration of function 'mysql_stat'
  320. _mysql.c:2108: error: '_mysql_ConnectionObject' has no member named 'connection'
  321. _mysql.c:2108: warning: assignment makes pointer from integer without a cast
  322. _mysql.c: In function '_mysql_ConnectionObject_store_result':
  323. _mysql.c:2134: error: '_mysql_ConnectionObject' has no member named 'open'
  324. _mysql.c:2135: error: '_mysql_ConnectionObject' has no member named 'converter'
  325. _mysql.c:2144: error: '_mysql_ResultObject' has no member named 'result'
  326. _mysql.c: In function '_mysql_ConnectionObject_thread_id':
  327. _mysql.c:2173: error: '_mysql_ConnectionObject' has no member named 'open'
  328. _mysql.c:2175: warning: implicit declaration of function 'mysql_thread_id'
  329. _mysql.c:2175: error: '_mysql_ConnectionObject' has no member named 'connection'
  330. _mysql.c: In function '_mysql_ConnectionObject_use_result':
  331. _mysql.c:2195: error: '_mysql_ConnectionObject' has no member named 'open'
  332. _mysql.c:2196: error: '_mysql_ConnectionObject' has no member named 'converter'
  333. _mysql.c:2205: error: '_mysql_ResultObject' has no member named 'result'
  334. _mysql.c: In function '_mysql_ConnectionObject_dealloc':
  335. _mysql.c:2223: error: '_mysql_ConnectionObject' has no member named 'open'
  336. _mysql.c: In function '_mysql_ConnectionObject_repr':
  337. _mysql.c:2235: error: '_mysql_ConnectionObject' has no member named 'open'
  338. _mysql.c:2237: error: '_mysql_ConnectionObject' has no member named 'connection'
  339. _mysql.c: In function '_mysql_ResultObject_data_seek':
  340. _mysql.c:2258: error: '_mysql_ConnectionObject' has no member named 'open'
  341. _mysql.c:2259: warning: implicit declaration of function 'mysql_data_seek'
  342. _mysql.c:2259: error: '_mysql_ResultObject' has no member named 'result'
  343. _mysql.c: In function '_mysql_ResultObject_row_seek':
  344. _mysql.c:2272: error: 'MYSQL_ROW_OFFSET' undeclared (first use in this function)
  345. _mysql.c:2272: error: expected ';' before 'r'
  346. _mysql.c:2274: error: '_mysql_ConnectionObject' has no member named 'open'
  347. _mysql.c:2275: error: '_mysql_ResultObject' has no member named 'use'
  348. _mysql.c:2280: error: 'r' undeclared (first use in this function)
  349. _mysql.c:2280: warning: implicit declaration of function 'mysql_row_tell'
  350. _mysql.c:2280: error: '_mysql_ResultObject' has no member named 'result'
  351. _mysql.c:2281: warning: implicit declaration of function 'mysql_row_seek'
  352. _mysql.c:2281: error: '_mysql_ResultObject' has no member named 'result'
  353. _mysql.c: In function '_mysql_ResultObject_row_tell':
  354. _mysql.c:2293: error: 'MYSQL_ROW_OFFSET' undeclared (first use in this function)
  355. _mysql.c:2293: error: expected ';' before 'r'
  356. _mysql.c:2295: error: '_mysql_ConnectionObject' has no member named 'open'
  357. _mysql.c:2296: error: '_mysql_ResultObject' has no member named 'use'
  358. _mysql.c:2301: error: 'r' undeclared (first use in this function)
  359. _mysql.c:2301: error: '_mysql_ResultObject' has no member named 'result'
  360. _mysql.c:2302: error: '_mysql_ResultObject' has no member named 'result'
  361. _mysql.c: In function '_mysql_ResultObject_dealloc':
  362. _mysql.c:2310: warning: implicit declaration of function 'mysql_free_result'
  363. _mysql.c:2310: error: '_mysql_ResultObject' has no member named 'result'
  364. _mysql.c: At top level:
  365. _mysql.c:2551: error: '_mysql_ConnectionObject' has no member named 'open'
  366. _mysql.c:2558: error: '_mysql_ConnectionObject' has no member named 'converter'
  367. _mysql.c:2565: error: '_mysql_ConnectionObject' has no member named 'connection'
  368. _mysql.c:2572: error: '_mysql_ConnectionObject' has no member named 'connection'
  369. _mysql.c:2579: error: '_mysql_ConnectionObject' has no member named 'connection'
  370. _mysql.c:2642: error: '_mysql_ResultObject' has no member named 'converter'
  371. _mysql.c:2642: error: initializer element is not constant
  372. _mysql.c:2642: error: (near initialization for '_mysql_ResultObject_memberlist[0].offset')
  373. _mysql.c: In function '_mysql_ConnectionObject_getattr':
  374. _mysql.c:2666: error: '_mysql_ConnectionObject' has no member named 'open'
  375. gcc: /Zl: No such file or directory
  376. error: command 'gcc' failed with exit status 1
  377. Complete output from command D:\Work\venv\test\Scripts\python.exe -c "import setuptools, tokenize;__file__='D:\\Work\\venv\\test\\build\\MySQL-pyt
  378. hon\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\admi
  379. n\appdata\local\temp\pip-9almin-record\install-record.txt --single-version-externally-managed --compile --install-headers D:\Work\venv\test\include\si
  380. te\python2.7:
  381. running install
  382.  
  383. running build
  384.  
  385. running build_py
  386.  
  387. creating build
  388.  
  389. creating build\lib.win32-2.7
  390.  
  391. copying _mysql_exceptions.py -> build\lib.win32-2.7
  392.  
  393. creating build\lib.win32-2.7\MySQLdb
  394.  
  395. copying MySQLdb\__init__.py -> build\lib.win32-2.7\MySQLdb
  396.  
  397. copying MySQLdb\converters.py -> build\lib.win32-2.7\MySQLdb
  398.  
  399. copying MySQLdb\connections.py -> build\lib.win32-2.7\MySQLdb
  400.  
  401. copying MySQLdb\cursors.py -> build\lib.win32-2.7\MySQLdb
  402.  
  403. copying MySQLdb\release.py -> build\lib.win32-2.7\MySQLdb
  404.  
  405. copying MySQLdb\times.py -> build\lib.win32-2.7\MySQLdb
  406.  
  407. creating build\lib.win32-2.7\MySQLdb\constants
  408.  
  409. copying MySQLdb\constants\__init__.py -> build\lib.win32-2.7\MySQLdb\constants
  410.  
  411. copying MySQLdb\constants\CR.py -> build\lib.win32-2.7\MySQLdb\constants
  412.  
  413. copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-2.7\MySQLdb\constants
  414.  
  415. copying MySQLdb\constants\ER.py -> build\lib.win32-2.7\MySQLdb\constants
  416.  
  417. copying MySQLdb\constants\FLAG.py -> build\lib.win32-2.7\MySQLdb\constants
  418.  
  419. copying MySQLdb\constants\REFRESH.py -> build\lib.win32-2.7\MySQLdb\constants
  420.  
  421. copying MySQLdb\constants\CLIENT.py -> build\lib.win32-2.7\MySQLdb\constants
  422.  
  423. running build_ext
  424.  
  425. building '_mysql' extension
  426.  
  427. creating build\temp.win32-2.7
  428.  
  429. creating build\temp.win32-2.7\Release
  430.  
  431. C:\msysgit\msysgit\mingw\bin\gcc.exe -mdll -O -Wall -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 "-IC:\Program Files (x86)\MySQL\MySQL Connect
  432. or C 6.0.2\include" -ID:\Programs\Python27\include -ID:\Work\venv\test\PC -c _mysql.c -o build\temp.win32-2.7\Release\_mysql.o /Zl
  433.  
  434. _mysql.c:42:24: error: config-win.h: No such file or directory
  435.  
  436. _mysql.c:46:19: error: mysql.h: No such file or directory
  437.  
  438. _mysql.c:47:26: error: mysqld_error.h: No such file or directory
  439.  
  440. _mysql.c:48:20: error: errmsg.h: No such file or directory
  441.  
  442. _mysql.c:88: error: expected specifier-qualifier-list before 'MYSQL'
  443.  
  444. _mysql.c:102: error: expected specifier-qualifier-list before 'MYSQL_RES'
  445.  
  446. _mysql.c: In function '_mysql_Exception':
  447.  
  448. _mysql.c:146: warning: implicit declaration of function 'mysql_errno'
  449.  
  450. _mysql.c:146: error: '_mysql_ConnectionObject' has no member named 'connection'
  451.  
  452. _mysql.c:149: error: 'CR_MAX_ERROR' undeclared (first use in this function)
  453.  
  454. _mysql.c:149: error: (Each undeclared identifier is reported only once
  455.  
  456. _mysql.c:149: error: for each function it appears in.)
  457.  
  458. _mysql.c:161: error: 'CR_COMMANDS_OUT_OF_SYNC' undeclared (first use in this function)
  459.  
  460. _mysql.c:162: error: 'ER_DB_CREATE_EXISTS' undeclared (first use in this function)
  461.  
  462. _mysql.c:163: error: 'ER_SYNTAX_ERROR' undeclared (first use in this function)
  463.  
  464. _mysql.c:164: error: 'ER_PARSE_ERROR' undeclared (first use in this function)
  465.  
  466. _mysql.c:165: error: 'ER_NO_SUCH_TABLE' undeclared (first use in this function)
  467.  
  468. _mysql.c:166: error: 'ER_WRONG_DB_NAME' undeclared (first use in this function)
  469.  
  470. _mysql.c:167: error: 'ER_WRONG_TABLE_NAME' undeclared (first use in this function)
  471.  
  472. _mysql.c:168: error: 'ER_FIELD_SPECIFIED_TWICE' undeclared (first use in this function)
  473.  
  474. _mysql.c:169: error: 'ER_INVALID_GROUP_FUNC_USE' undeclared (first use in this function)
  475.  
  476. _mysql.c:170: error: 'ER_UNSUPPORTED_EXTENSION' undeclared (first use in this function)
  477.  
  478. _mysql.c:171: error: 'ER_TABLE_MUST_HAVE_COLUMNS' undeclared (first use in this function)
  479.  
  480. _mysql.c:200: error: 'ER_DUP_ENTRY' undeclared (first use in this function)
  481.  
  482. _mysql.c:246: warning: implicit declaration of function 'mysql_error'
  483.  
  484. _mysql.c:246: error: '_mysql_ConnectionObject' has no member named 'connection'
  485.  
  486. _mysql.c:246: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  487.  
  488. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  489.  
  490. _mysql.c: In function '_mysql_server_init':
  491.  
  492. _mysql.c:351: warning: label 'finish' defined but not used
  493.  
  494. _mysql.c:268: warning: unused variable 'item'
  495.  
  496. _mysql.c:267: warning: unused variable 'groupc'
  497.  
  498. _mysql.c:267: warning: unused variable 'i'
  499.  
  500. _mysql.c:267: warning: unused variable 'cmd_argc'
  501.  
  502. _mysql.c:266: warning: unused variable 's'
  503.  
  504. _mysql.c: In function '_mysql_ResultObject_Initialize':
  505.  
  506. _mysql.c:406: error: 'MYSQL_RES' undeclared (first use in this function)
  507.  
  508. _mysql.c:406: error: 'result' undeclared (first use in this function)
  509.  
  510. _mysql.c:411: error: 'MYSQL_FIELD' undeclared (first use in this function)
  511.  
  512. _mysql.c:411: error: 'fields' undeclared (first use in this function)
  513.  
  514. _mysql.c:425: error: '_mysql_ResultObject' has no member named 'use'
  515.  
  516. _mysql.c:428: warning: implicit declaration of function 'mysql_use_result'
  517.  
  518. _mysql.c:428: error: '_mysql_ConnectionObject' has no member named 'connection'
  519.  
  520. _mysql.c:430: warning: implicit declaration of function 'mysql_store_result'
  521.  
  522. _mysql.c:430: error: '_mysql_ConnectionObject' has no member named 'connection'
  523.  
  524. _mysql.c:431: error: '_mysql_ResultObject' has no member named 'result'
  525.  
  526. _mysql.c:434: warning: implicit declaration of function 'mysql_field_count'
  527.  
  528. _mysql.c:434: error: '_mysql_ConnectionObject' has no member named 'connection'
  529.  
  530. _mysql.c:438: error: '_mysql_ResultObject' has no member named 'converter'
  531.  
  532. _mysql.c:442: warning: implicit declaration of function 'mysql_num_fields'
  533.  
  534. _mysql.c:443: error: '_mysql_ResultObject' has no member named 'nfields'
  535.  
  536. _mysql.c:444: error: '_mysql_ResultObject' has no member named 'converter'
  537.  
  538. _mysql.c:448: warning: implicit declaration of function 'mysql_fetch_fields'
  539.  
  540. _mysql.c:489: error: 'BINARY_FLAG' undeclared (first use in this function)
  541.  
  542. _mysql.c:512: error: '_mysql_ResultObject' has no member named 'converter'
  543.  
  544. _mysql.c: In function '_mysql_ResultObject_traverse':
  545.  
  546. _mysql.c:526: error: '_mysql_ResultObject' has no member named 'converter'
  547.  
  548. _mysql.c:527: error: '_mysql_ResultObject' has no member named 'converter'
  549.  
  550. _mysql.c: In function '_mysql_ResultObject_clear':
  551.  
  552. _mysql.c:538: error: '_mysql_ResultObject' has no member named 'converter'
  553.  
  554. _mysql.c:538: error: '_mysql_ResultObject' has no member named 'converter'
  555.  
  556. _mysql.c:538: error: '_mysql_ResultObject' has no member named 'converter'
  557.  
  558. _mysql.c:538: error: '_mysql_ResultObject' has no member named 'converter'
  559.  
  560. _mysql.c:539: error: '_mysql_ResultObject' has no member named 'converter'
  561.  
  562. _mysql.c: In function '_mysql_ConnectionObject_Initialize':
  563.  
  564. _mysql.c:551: error: 'MYSQL' undeclared (first use in this function)
  565.  
  566. _mysql.c:551: error: 'conn' undeclared (first use in this function)
  567.  
  568. _mysql.c:584: error: '_mysql_ConnectionObject' has no member named 'converter'
  569.  
  570. _mysql.c:585: error: '_mysql_ConnectionObject' has no member named 'open'
  571.  
  572. _mysql.c:636: warning: implicit declaration of function 'mysql_init'
  573.  
  574. _mysql.c:636: error: '_mysql_ConnectionObject' has no member named 'connection'
  575.  
  576. _mysql.c:639: warning: implicit declaration of function 'mysql_options'
  577.  
  578. _mysql.c:639: error: '_mysql_ConnectionObject' has no member named 'connection'
  579.  
  580. _mysql.c:639: error: 'MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function)
  581.  
  582. _mysql.c:655: error: '_mysql_ConnectionObject' has no member named 'connection'
  583.  
  584. _mysql.c:655: error: 'MYSQL_OPT_COMPRESS' undeclared (first use in this function)
  585.  
  586. _mysql.c:656: error: 'CLIENT_COMPRESS' undeclared (first use in this function)
  587.  
  588. _mysql.c:659: error: '_mysql_ConnectionObject' has no member named 'connection'
  589.  
  590. _mysql.c:659: error: 'MYSQL_OPT_NAMED_PIPE' undeclared (first use in this function)
  591.  
  592. _mysql.c:661: error: '_mysql_ConnectionObject' has no member named 'connection'
  593.  
  594. _mysql.c:661: error: 'MYSQL_INIT_COMMAND' undeclared (first use in this function)
  595.  
  596. _mysql.c:663: error: '_mysql_ConnectionObject' has no member named 'connection'
  597.  
  598. _mysql.c:663: error: 'MYSQL_READ_DEFAULT_FILE' undeclared (first use in this function)
  599.  
  600. _mysql.c:665: error: '_mysql_ConnectionObject' has no member named 'connection'
  601.  
  602. _mysql.c:665: error: 'MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
  603.  
  604. _mysql.c:668: error: '_mysql_ConnectionObject' has no member named 'connection'
  605.  
  606. _mysql.c:668: error: 'MYSQL_OPT_LOCAL_INFILE' undeclared (first use in this function)
  607.  
  608. _mysql.c:676: warning: implicit declaration of function 'mysql_real_connect'
  609.  
  610. _mysql.c:676: error: '_mysql_ConnectionObject' has no member named 'connection'
  611.  
  612. _mysql.c:694: error: '_mysql_ConnectionObject' has no member named 'converter'
  613.  
  614. _mysql.c:702: error: '_mysql_ConnectionObject' has no member named 'open'
  615.  
  616. _mysql.c: In function '_mysql_ConnectionObject_traverse':
  617.  
  618. _mysql.c:783: error: '_mysql_ConnectionObject' has no member named 'converter'
  619.  
  620. _mysql.c:784: error: '_mysql_ConnectionObject' has no member named 'converter'
  621.  
  622. _mysql.c: In function '_mysql_ConnectionObject_clear':
  623.  
  624. _mysql.c:792: error: '_mysql_ConnectionObject' has no member named 'converter'
  625.  
  626. _mysql.c:792: error: '_mysql_ConnectionObject' has no member named 'converter'
  627.  
  628. _mysql.c:792: error: '_mysql_ConnectionObject' has no member named 'converter'
  629.  
  630. _mysql.c:792: error: '_mysql_ConnectionObject' has no member named 'converter'
  631.  
  632. _mysql.c:793: error: '_mysql_ConnectionObject' has no member named 'converter'
  633.  
  634. _mysql.c: In function '_mysql_ConnectionObject_close':
  635.  
  636. _mysql.c:808: error: '_mysql_ConnectionObject' has no member named 'open'
  637.  
  638. _mysql.c:810: warning: implicit declaration of function 'mysql_close'
  639.  
  640. _mysql.c:810: error: '_mysql_ConnectionObject' has no member named 'connection'
  641.  
  642. _mysql.c:812: error: '_mysql_ConnectionObject' has no member named 'open'
  643.  
  644. _mysql.c: In function '_mysql_ConnectionObject_affected_rows':
  645.  
  646. _mysql.c:834: error: '_mysql_ConnectionObject' has no member named 'open'
  647.  
  648. _mysql.c:835: warning: implicit declaration of function 'mysql_affected_rows'
  649.  
  650. _mysql.c:835: error: '_mysql_ConnectionObject' has no member named 'connection'
  651.  
  652. _mysql.c: In function '_mysql_debug':
  653.  
  654. _mysql.c:851: warning: implicit declaration of function 'mysql_debug'
  655.  
  656. _mysql.c: In function '_mysql_ConnectionObject_dump_debug_info':
  657.  
  658. _mysql.c:869: error: '_mysql_ConnectionObject' has no member named 'open'
  659.  
  660. _mysql.c:871: warning: implicit declaration of function 'mysql_dump_debug_info'
  661.  
  662. _mysql.c:871: error: '_mysql_ConnectionObject' has no member named 'connection'
  663.  
  664. _mysql.c: In function '_mysql_ConnectionObject_autocommit':
  665.  
  666. _mysql.c:895: warning: implicit declaration of function 'mysql_query'
  667.  
  668. _mysql.c:895: error: '_mysql_ConnectionObject' has no member named 'connection'
  669.  
  670. _mysql.c: In function '_mysql_ConnectionObject_get_autocommit':
  671.  
  672. _mysql.c:912: error: '_mysql_ConnectionObject' has no member named 'connection'
  673.  
  674. _mysql.c:912: error: 'SERVER_STATUS_AUTOCOMMIT' undeclared (first use in this function)
  675.  
  676. _mysql.c: In function '_mysql_ConnectionObject_commit':
  677.  
  678. _mysql.c:932: error: '_mysql_ConnectionObject' has no member named 'connection'
  679.  
  680. _mysql.c: In function '_mysql_ConnectionObject_rollback':
  681.  
  682. _mysql.c:954: error: '_mysql_ConnectionObject' has no member named 'connection'
  683.  
  684. _mysql.c: In function '_mysql_ConnectionObject_errno':
  685.  
  686. _mysql.c:1070: error: '_mysql_ConnectionObject' has no member named 'open'
  687.  
  688. _mysql.c:1071: error: '_mysql_ConnectionObject' has no member named 'connection'
  689.  
  690. _mysql.c: In function '_mysql_ConnectionObject_error':
  691.  
  692. _mysql.c:1086: error: '_mysql_ConnectionObject' has no member named 'open'
  693.  
  694. _mysql.c:1090: error: '_mysql_ConnectionObject' has no member named 'connection'
  695.  
  696. _mysql.c:1090: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  697.  
  698. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  699.  
  700. _mysql.c: In function '_mysql_escape_string':
  701.  
  702. _mysql.c:1123: warning: implicit declaration of function 'mysql_escape_string'
  703.  
  704. _mysql.c: In function '_mysql_escape':
  705.  
  706. _mysql.c:1252: error: '_mysql_ConnectionObject' has no member named 'converter'
  707.  
  708. _mysql.c: In function '_mysql_ResultObject_describe':
  709.  
  710. _mysql.c:1332: error: 'MYSQL_FIELD' undeclared (first use in this function)
  711.  
  712. _mysql.c:1332: error: 'fields' undeclared (first use in this function)
  713.  
  714. _mysql.c:1335: error: '_mysql_ConnectionObject' has no member named 'open'
  715.  
  716. _mysql.c:1336: error: '_mysql_ResultObject' has no member named 'result'
  717.  
  718. _mysql.c:1337: error: '_mysql_ResultObject' has no member named 'result'
  719.  
  720. _mysql.c:1348: warning: implicit declaration of function 'IS_NOT_NULL'
  721.  
  722. _mysql.c: In function '_mysql_ResultObject_field_flags':
  723.  
  724. _mysql.c:1368: error: 'MYSQL_FIELD' undeclared (first use in this function)
  725.  
  726. _mysql.c:1368: error: 'fields' undeclared (first use in this function)
  727.  
  728. _mysql.c:1371: error: '_mysql_ConnectionObject' has no member named 'open'
  729.  
  730. _mysql.c:1372: error: '_mysql_ResultObject' has no member named 'result'
  731.  
  732. _mysql.c:1373: error: '_mysql_ResultObject' has no member named 'result'
  733.  
  734. _mysql.c: At top level:
  735.  
  736. _mysql.c:1419: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  737.  
  738. _mysql.c: In function '_mysql_row_to_tuple':
  739.  
  740. _mysql.c:1425: error: '_mysql_ResultObject' has no member named 'result'
  741.  
  742. _mysql.c:1427: warning: implicit declaration of function 'mysql_fetch_lengths'
  743.  
  744. _mysql.c:1427: error: '_mysql_ResultObject' has no member named 'result'
  745.  
  746. _mysql.c:1427: warning: assignment makes pointer from integer without a cast
  747.  
  748. _mysql.c:1430: error: '_mysql_ResultObject' has no member named 'converter'
  749.  
  750. _mysql.c:1431: error: 'row' undeclared (first use in this function)
  751.  
  752. _mysql.c: At top level:
  753.  
  754. _mysql.c:1444: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  755.  
  756. _mysql.c: In function '_mysql_row_to_dict':
  757.  
  758. _mysql.c:1449: error: 'MYSQL_FIELD' undeclared (first use in this function)
  759.  
  760. _mysql.c:1449: error: 'fields' undeclared (first use in this function)
  761.  
  762. _mysql.c:1451: error: '_mysql_ResultObject' has no member named 'result'
  763.  
  764. _mysql.c:1453: error: '_mysql_ResultObject' has no member named 'result'
  765.  
  766. _mysql.c:1453: warning: assignment makes pointer from integer without a cast
  767.  
  768. _mysql.c:1454: error: '_mysql_ResultObject' has no member named 'result'
  769.  
  770. _mysql.c:1457: error: '_mysql_ResultObject' has no member named 'converter'
  771.  
  772. _mysql.c:1458: error: 'row' undeclared (first use in this function)
  773.  
  774. _mysql.c: At top level:
  775.  
  776. _mysql.c:1483: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  777.  
  778. _mysql.c: In function '_mysql_row_to_dict_old':
  779.  
  780. _mysql.c:1488: error: 'MYSQL_FIELD' undeclared (first use in this function)
  781.  
  782. _mysql.c:1488: error: 'fields' undeclared (first use in this function)
  783.  
  784. _mysql.c:1490: error: '_mysql_ResultObject' has no member named 'result'
  785.  
  786. _mysql.c:1492: error: '_mysql_ResultObject' has no member named 'result'
  787.  
  788. _mysql.c:1492: warning: assignment makes pointer from integer without a cast
  789.  
  790. _mysql.c:1493: error: '_mysql_ResultObject' has no member named 'result'
  791.  
  792. _mysql.c:1496: error: '_mysql_ResultObject' has no member named 'converter'
  793.  
  794. _mysql.c:1497: error: 'row' undeclared (first use in this function)
  795.  
  796. _mysql.c: At top level:
  797.  
  798. _mysql.c:1519: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  799.  
  800. _mysql.c: In function '_mysql__fetch_row':
  801.  
  802. _mysql.c:1530: error: 'MYSQL_ROW' undeclared (first use in this function)
  803.  
  804. _mysql.c:1530: error: expected ';' before 'row'
  805.  
  806. _mysql.c:1534: error: '_mysql_ResultObject' has no member named 'use'
  807.  
  808. _mysql.c:1535: error: 'row' undeclared (first use in this function)
  809.  
  810. _mysql.c:1535: warning: implicit declaration of function 'mysql_fetch_row'
  811.  
  812. _mysql.c:1535: error: '_mysql_ResultObject' has no member named 'result'
  813.  
  814. _mysql.c:1538: error: '_mysql_ResultObject' has no member named 'result'
  815.  
  816. _mysql.c:1541: error: '_mysql_ConnectionObject' has no member named 'connection'
  817.  
  818. _mysql.c:1549: error: too many arguments to function 'convert_row'
  819.  
  820. _mysql.c: In function '_mysql_ResultObject_fetch_row':
  821.  
  822. _mysql.c:1573: error: expected declaration specifiers or '...' before 'MYSQL_ROW'
  823.  
  824. _mysql.c:1588: error: '_mysql_ConnectionObject' has no member named 'open'
  825.  
  826. _mysql.c:1600: error: '_mysql_ResultObject' has no member named 'use'
  827.  
  828. _mysql.c:1614: warning: implicit declaration of function 'mysql_num_rows'
  829.  
  830. _mysql.c:1614: error: '_mysql_ResultObject' has no member named 'result'
  831.  
  832. _mysql.c: In function '_mysql_ConnectionObject_character_set_name':
  833.  
  834. _mysql.c:1681: error: '_mysql_ConnectionObject' has no member named 'open'
  835.  
  836. _mysql.c: In function '_mysql_get_client_info':
  837.  
  838. _mysql.c:1792: warning: implicit declaration of function 'mysql_get_client_info'
  839.  
  840. _mysql.c:1792: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  841.  
  842. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  843.  
  844. _mysql.c: In function '_mysql_ConnectionObject_get_host_info':
  845.  
  846. _mysql.c:1807: error: '_mysql_ConnectionObject' has no member named 'open'
  847.  
  848. _mysql.c:1811: warning: implicit declaration of function 'mysql_get_host_info'
  849.  
  850. _mysql.c:1811: error: '_mysql_ConnectionObject' has no member named 'connection'
  851.  
  852. _mysql.c:1811: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  853.  
  854. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  855.  
  856. _mysql.c: In function '_mysql_ConnectionObject_get_proto_info':
  857.  
  858. _mysql.c:1826: error: '_mysql_ConnectionObject' has no member named 'open'
  859.  
  860. _mysql.c:1827: warning: implicit declaration of function 'mysql_get_proto_info'
  861.  
  862. _mysql.c:1827: error: '_mysql_ConnectionObject' has no member named 'connection'
  863.  
  864. _mysql.c: In function '_mysql_ConnectionObject_get_server_info':
  865.  
  866. _mysql.c:1841: error: '_mysql_ConnectionObject' has no member named 'open'
  867.  
  868. _mysql.c:1845: warning: implicit declaration of function 'mysql_get_server_info'
  869.  
  870. _mysql.c:1845: error: '_mysql_ConnectionObject' has no member named 'connection'
  871.  
  872. _mysql.c:1845: warning: passing argument 1 of 'PyString_FromString' makes pointer from integer without a cast
  873.  
  874. D:\Programs\Python27\include/stringobject.h:63: note: expected 'const char *' but argument is of type 'int'
  875.  
  876. _mysql.c: In function '_mysql_ConnectionObject_info':
  877.  
  878. _mysql.c:1862: error: '_mysql_ConnectionObject' has no member named 'open'
  879.  
  880. _mysql.c:1863: warning: implicit declaration of function 'mysql_info'
  881.  
  882. _mysql.c:1863: error: '_mysql_ConnectionObject' has no member named 'connection'
  883.  
  884. _mysql.c:1863: warning: assignment makes pointer from integer without a cast
  885.  
  886. _mysql.c: In function '_mysql_ConnectionObject_insert_id':
  887.  
  888. _mysql.c:1899: error: 'my_ulonglong' undeclared (first use in this function)
  889.  
  890. _mysql.c:1899: error: expected ';' before 'r'
  891.  
  892. _mysql.c:1901: error: '_mysql_ConnectionObject' has no member named 'open'
  893.  
  894. _mysql.c:1903: error: 'r' undeclared (first use in this function)
  895.  
  896. _mysql.c:1903: warning: implicit declaration of function 'mysql_insert_id'
  897.  
  898. _mysql.c:1903: error: '_mysql_ConnectionObject' has no member named 'connection'
  899.  
  900. _mysql.c: In function '_mysql_ConnectionObject_kill':
  901.  
  902. _mysql.c:1920: error: '_mysql_ConnectionObject' has no member named 'open'
  903.  
  904. _mysql.c:1922: warning: implicit declaration of function 'mysql_kill'
  905.  
  906. _mysql.c:1922: error: '_mysql_ConnectionObject' has no member named 'connection'
  907.  
  908. _mysql.c: In function '_mysql_ConnectionObject_field_count':
  909.  
  910. _mysql.c:1941: error: '_mysql_ConnectionObject' has no member named 'open'
  911.  
  912. _mysql.c:1943: error: '_mysql_ConnectionObject' has no member named 'connection'
  913.  
  914. _mysql.c: In function '_mysql_ResultObject_num_fields':
  915.  
  916. _mysql.c:1958: error: '_mysql_ConnectionObject' has no member named 'open'
  917.  
  918. _mysql.c:1959: error: '_mysql_ResultObject' has no member named 'result'
  919.  
  920. _mysql.c: In function '_mysql_ResultObject_num_rows':
  921.  
  922. _mysql.c:1974: error: '_mysql_ConnectionObject' has no member named 'open'
  923.  
  924. _mysql.c:1975: error: '_mysql_ResultObject' has no member named 'result'
  925.  
  926. _mysql.c: In function '_mysql_ConnectionObject_ping':
  927.  
  928. _mysql.c:2004: error: '_mysql_ConnectionObject' has no member named 'open'
  929.  
  930. _mysql.c:2005: error: '_mysql_ConnectionObject' has no member named 'connection'
  931.  
  932. _mysql.c:2007: warning: implicit declaration of function 'mysql_ping'
  933.  
  934. _mysql.c:2007: error: '_mysql_ConnectionObject' has no member named 'connection'
  935.  
  936. _mysql.c: In function '_mysql_ConnectionObject_query':
  937.  
  938. _mysql.c:2028: error: '_mysql_ConnectionObject' has no member named 'open'
  939.  
  940. _mysql.c:2030: warning: implicit declaration of function 'mysql_real_query'
  941.  
  942. _mysql.c:2030: error: '_mysql_ConnectionObject' has no member named 'connection'
  943.  
  944. _mysql.c: In function '_mysql_ConnectionObject_select_db':
  945.  
  946. _mysql.c:2058: error: '_mysql_ConnectionObject' has no member named 'open'
  947.  
  948. _mysql.c:2060: warning: implicit declaration of function 'mysql_select_db'
  949.  
  950. _mysql.c:2060: error: '_mysql_ConnectionObject' has no member named 'connection'
  951.  
  952. _mysql.c: In function '_mysql_ConnectionObject_shutdown':
  953.  
  954. _mysql.c:2079: error: '_mysql_ConnectionObject' has no member named 'open'
  955.  
  956. _mysql.c:2081: warning: implicit declaration of function 'mysql_shutdown'
  957.  
  958. _mysql.c:2081: error: '_mysql_ConnectionObject' has no member named 'connection'
  959.  
  960. _mysql.c: In function '_mysql_ConnectionObject_stat':
  961.  
  962. _mysql.c:2106: error: '_mysql_ConnectionObject' has no member named 'open'
  963.  
  964. _mysql.c:2108: warning: implicit declaration of function 'mysql_stat'
  965.  
  966. _mysql.c:2108: error: '_mysql_ConnectionObject' has no member named 'connection'
  967.  
  968. _mysql.c:2108: warning: assignment makes pointer from integer without a cast
  969.  
  970. _mysql.c: In function '_mysql_ConnectionObject_store_result':
  971.  
  972. _mysql.c:2134: error: '_mysql_ConnectionObject' has no member named 'open'
  973.  
  974. _mysql.c:2135: error: '_mysql_ConnectionObject' has no member named 'converter'
  975.  
  976. _mysql.c:2144: error: '_mysql_ResultObject' has no member named 'result'
  977.  
  978. _mysql.c: In function '_mysql_ConnectionObject_thread_id':
  979.  
  980. _mysql.c:2173: error: '_mysql_ConnectionObject' has no member named 'open'
  981.  
  982. _mysql.c:2175: warning: implicit declaration of function 'mysql_thread_id'
  983.  
  984. _mysql.c:2175: error: '_mysql_ConnectionObject' has no member named 'connection'
  985.  
  986. _mysql.c: In function '_mysql_ConnectionObject_use_result':
  987.  
  988. _mysql.c:2195: error: '_mysql_ConnectionObject' has no member named 'open'
  989.  
  990. _mysql.c:2196: error: '_mysql_ConnectionObject' has no member named 'converter'
  991.  
  992. _mysql.c:2205: error: '_mysql_ResultObject' has no member named 'result'
  993.  
  994. _mysql.c: In function '_mysql_ConnectionObject_dealloc':
  995.  
  996. _mysql.c:2223: error: '_mysql_ConnectionObject' has no member named 'open'
  997.  
  998. _mysql.c: In function '_mysql_ConnectionObject_repr':
  999.  
  1000. _mysql.c:2235: error: '_mysql_ConnectionObject' has no member named 'open'
  1001.  
  1002. _mysql.c:2237: error: '_mysql_ConnectionObject' has no member named 'connection'
  1003.  
  1004. _mysql.c: In function '_mysql_ResultObject_data_seek':
  1005.  
  1006. _mysql.c:2258: error: '_mysql_ConnectionObject' has no member named 'open'
  1007.  
  1008. _mysql.c:2259: warning: implicit declaration of function 'mysql_data_seek'
  1009.  
  1010. _mysql.c:2259: error: '_mysql_ResultObject' has no member named 'result'
  1011.  
  1012. _mysql.c: In function '_mysql_ResultObject_row_seek':
  1013.  
  1014. _mysql.c:2272: error: 'MYSQL_ROW_OFFSET' undeclared (first use in this function)
  1015.  
  1016. _mysql.c:2272: error: expected ';' before 'r'
  1017.  
  1018. _mysql.c:2274: error: '_mysql_ConnectionObject' has no member named 'open'
  1019.  
  1020. _mysql.c:2275: error: '_mysql_ResultObject' has no member named 'use'
  1021.  
  1022. _mysql.c:2280: error: 'r' undeclared (first use in this function)
  1023.  
  1024. _mysql.c:2280: warning: implicit declaration of function 'mysql_row_tell'
  1025.  
  1026. _mysql.c:2280: error: '_mysql_ResultObject' has no member named 'result'
  1027.  
  1028. _mysql.c:2281: warning: implicit declaration of function 'mysql_row_seek'
  1029.  
  1030. _mysql.c:2281: error: '_mysql_ResultObject' has no member named 'result'
  1031.  
  1032. _mysql.c: In function '_mysql_ResultObject_row_tell':
  1033.  
  1034. _mysql.c:2293: error: 'MYSQL_ROW_OFFSET' undeclared (first use in this function)
  1035.  
  1036. _mysql.c:2293: error: expected ';' before 'r'
  1037.  
  1038. _mysql.c:2295: error: '_mysql_ConnectionObject' has no member named 'open'
  1039.  
  1040. _mysql.c:2296: error: '_mysql_ResultObject' has no member named 'use'
  1041.  
  1042. _mysql.c:2301: error: 'r' undeclared (first use in this function)
  1043.  
  1044. _mysql.c:2301: error: '_mysql_ResultObject' has no member named 'result'
  1045.  
  1046. _mysql.c:2302: error: '_mysql_ResultObject' has no member named 'result'
  1047.  
  1048. _mysql.c: In function '_mysql_ResultObject_dealloc':
  1049.  
  1050. _mysql.c:2310: warning: implicit declaration of function 'mysql_free_result'
  1051.  
  1052. _mysql.c:2310: error: '_mysql_ResultObject' has no member named 'result'
  1053.  
  1054. _mysql.c: At top level:
  1055.  
  1056. _mysql.c:2551: error: '_mysql_ConnectionObject' has no member named 'open'
  1057.  
  1058. _mysql.c:2558: error: '_mysql_ConnectionObject' has no member named 'converter'
  1059.  
  1060. _mysql.c:2565: error: '_mysql_ConnectionObject' has no member named 'connection'
  1061.  
  1062. _mysql.c:2572: error: '_mysql_ConnectionObject' has no member named 'connection'
  1063.  
  1064. _mysql.c:2579: error: '_mysql_ConnectionObject' has no member named 'connection'
  1065.  
  1066. _mysql.c:2642: error: '_mysql_ResultObject' has no member named 'converter'
  1067.  
  1068. _mysql.c:2642: error: initializer element is not constant
  1069.  
  1070. _mysql.c:2642: error: (near initialization for '_mysql_ResultObject_memberlist[0].offset')
  1071.  
  1072. _mysql.c: In function '_mysql_ConnectionObject_getattr':
  1073.  
  1074. _mysql.c:2666: error: '_mysql_ConnectionObject' has no member named 'open'
  1075.  
  1076. gcc: /Zl: No such file or directory
  1077.  
  1078. error: command 'gcc' failed with exit status 1
  1079.  
  1080. ----------------------------------------
  1081. Cleaning up...
  1082. Command D:\Work\venv\test\Scripts\python.exe -c "import setuptools, tokenize;__file__='D:\\Work\\venv\\test\\build\\MySQL-python\\setup.py';exec(compi
  1083. le(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\admin\appdata\local\temp\pip-
  1084. 9almin-record\install-record.txt --single-version-externally-managed --compile --install-headers D:\Work\venv\test\include\site\python2.7 failed with
  1085. error code 1 in D:\Work\venv\test\build\MySQL-python
  1086. Storing debug log for failure in C:\Users\Admin\pip\pip.log
  1087.  
  1088. (test) D:\Work\kchv>pip install python-dev
  1089. Downloading/unpacking python-dev
  1090. Could not find any downloads that satisfy the requirement python-dev
  1091. Cleaning up...
  1092. No distributions at all found for python-dev
  1093. Storing debug log for failure in C:\Users\Admin\pip\pip.log
  1094.  
  1095. (test) D:\Work\kchv>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement