質問編集履歴

1

エラー部分の詳細追加

2019/01/17 08:12

投稿

lasagna0209
lasagna0209

スコア15

test CHANGED
File without changes
test CHANGED
@@ -16,8 +16,86 @@
16
16
 
17
17
 
18
18
 
19
- ```Command "C:\Users\Owner\AppData\Local\Programs\Python\Python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\Owner\AppData\Local\Temp\pip-install-htzs5z90\mysqlclient\setup.py';f=getattr(
19
+ ```
20
20
 
21
- tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Owner\AppData\Local\Temp\pip-record-fq3a56uh\install-record.txt --single
21
+ Collecting mysqlclient==1.3.13
22
22
 
23
- -version-externally-managed --compile" failed with error code 1 in C:\Users\Owner\AppData\Local\Temp\pip-install-htzs5z90\mysqlclient\
23
+ Using cached https://files.pythonhosted.org/packages/ec/fd/83329b9d3e14f7344d1cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gz
24
+
25
+ Installing collected packages: mysqlclient
26
+
27
+ Running setup.py install for mysqlclient ... error
28
+
29
+ Complete output from command C:\Users\Owner\AppData\Local\Programs\Python\Python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\Owner\AppData\Local\Temp\pip-install-f9bafpu_\mysqlclie
30
+
31
+ nt\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Owner\AppData\Local\Temp\pip-record-ogy4ls13\ins
32
+
33
+ tall-record.txt --single-version-externally-managed --compile:
34
+
35
+ C:\Users\Owner\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
36
+
37
+ warnings.warn(msg)
38
+
39
+ running install
40
+
41
+ running build
42
+
43
+ running build_py
44
+
45
+ creating build
46
+
47
+ creating build\lib.win32-3.6
48
+
49
+ copying _mysql_exceptions.py -> build\lib.win32-3.6
50
+
51
+ creating build\lib.win32-3.6\MySQLdb
52
+
53
+ copying MySQLdb\__init__.py -> build\lib.win32-3.6\MySQLdb
54
+
55
+ copying MySQLdb\compat.py -> build\lib.win32-3.6\MySQLdb
56
+
57
+ copying MySQLdb\connections.py -> build\lib.win32-3.6\MySQLdb
58
+
59
+ copying MySQLdb\converters.py -> build\lib.win32-3.6\MySQLdb
60
+
61
+ copying MySQLdb\cursors.py -> build\lib.win32-3.6\MySQLdb
62
+
63
+ copying MySQLdb\release.py -> build\lib.win32-3.6\MySQLdb
64
+
65
+ copying MySQLdb\times.py -> build\lib.win32-3.6\MySQLdb
66
+
67
+ creating build\lib.win32-3.6\MySQLdb\constants
68
+
69
+ copying MySQLdb\constants\__init__.py -> build\lib.win32-3.6\MySQLdb\constants
70
+
71
+ copying MySQLdb\constants\CLIENT.py -> build\lib.win32-3.6\MySQLdb\constants
72
+
73
+ copying MySQLdb\constants\CR.py -> build\lib.win32-3.6\MySQLdb\constants
74
+
75
+ copying MySQLdb\constants\ER.py -> build\lib.win32-3.6\MySQLdb\constants
76
+
77
+ copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-3.6\MySQLdb\constants
78
+
79
+ copying MySQLdb\constants\FLAG.py -> build\lib.win32-3.6\MySQLdb\constants
80
+
81
+ copying MySQLdb\constants\REFRESH.py -> build\lib.win32-3.6\MySQLdb\constants
82
+
83
+ running build_ext
84
+
85
+ building '_mysql' extension
86
+
87
+ error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
88
+
89
+
90
+
91
+ ----------------------------------------
92
+
93
+ Command "C:\Users\Owner\AppData\Local\Programs\Python\Python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\Owner\AppData\Local\Temp\pip-install-f9bafpu_\mysqlclient\setup.py';f=getattr(
94
+
95
+ tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Owner\AppData\Local\Temp\pip-record-ogy4ls13\install-record.txt --single
96
+
97
+ -version-externally-managed --compile" failed with error code 1 in C:\Users\Owner\AppData\Local\Temp\pip-install-f9bafpu_\mysqlclient\
98
+
99
+
100
+
101
+ ```