質問するログイン新規登録

質問編集履歴

1

コマンド実行時のログ掲載

2018/10/15 04:27

投稿

Tatsuo_Iriyama
Tatsuo_Iriyama

スコア50

title CHANGED
File without changes
body CHANGED
@@ -34,4 +34,115 @@
34
34
  どうぞよろしくお願い致します。
35
35
 
36
36
 
37
- ※わからない部分ありましたら、修正依頼等で質問して下さい。
37
+ ※わからない部分ありましたら、修正依頼等で質問して下さい。
38
+
39
+
40
+ ##追記
41
+
42
+ ```
43
+ [vagrant@local sample]$ sudo pip install matplotlib
44
+ Collecting matplotlib
45
+ Using cached https://files.pythonhosted.org/packages/59/08/04933377dc4500e3698e93f9113dc3624874e0914f4c85767ecb5b389084/matplotlib-2.2.3-cp27-cp27mu-manylinux1_x86_64.whl
46
+ Requirement already satisfied: six>=1.10 in /usr/lib/python2.7/site-packages (from matplotlib) (1.11.0)
47
+ Requirement already satisfied: python-dateutil>=2.1 in /usr/lib/python2.7/site-packages (from matplotlib) (2.7.3)
48
+ Requirement already satisfied: pytz in /usr/lib/python2.7/site-packages (from matplotlib) (2018.5)
49
+ Requirement already satisfied: kiwisolver>=1.0.1 in /usr/lib64/python2.7/site-packages (from matplotlib) (1.0.1)
50
+ Requirement already satisfied: numpy>=1.7.1 in /usr/lib64/python2.7/site-packages (from matplotlib) (1.15.2)
51
+ Requirement already satisfied: cycler>=0.10 in /usr/lib/python2.7/site-packages (from matplotlib) (0.10.0)
52
+ Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/lib/python2.7/site-packages (from matplotlib) (2.2.2)
53
+ Requirement already satisfied: backports.functools-lru-cache in /usr/lib/python2.7/site-packages (from matplotlib) (1.5)
54
+ Collecting subprocess32 (from matplotlib)
55
+ Using cached https://files.pythonhosted.org/packages/be/2b/beeba583e9877e64db10b52a96915afc0feabf7144dcbf2a0d0ea68bf73d/subprocess32-3.5.3.tar.gz
56
+ Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from kiwisolver>=1.0.1->matplotlib) (40.4.3)
57
+ Building wheels for collected packages: subprocess32
58
+ Running setup.py bdist_wheel for subprocess32 ... error
59
+ Complete output from command /bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-JxgJ1K/subprocess32/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-_6DKQR --python-tag cp27:
60
+ running bdist_wheel
61
+ running build
62
+ running build_py
63
+ creating build
64
+ creating build/lib.linux-x86_64-2.7
65
+ copying subprocess32.py -> build/lib.linux-x86_64-2.7
66
+ running build_ext
67
+ running build_configure
68
+ checking for gcc... gcc
69
+ checking whether the C compiler works... yes
70
+ checking for C compiler default output file name... a.out
71
+ checking for suffix of executables...
72
+ checking whether we are cross compiling... no
73
+ checking for suffix of object files... o
74
+ checking whether we are using the GNU C compiler... yes
75
+ checking whether gcc accepts -g... yes
76
+ checking for gcc option to accept ISO C89... none needed
77
+ checking how to run the C preprocessor... gcc -E
78
+ checking for grep that handles long lines and -e... /bin/grep
79
+ checking for egrep... /bin/grep -E
80
+ checking for ANSI C header files... yes
81
+ checking for sys/types.h... yes
82
+ checking for sys/stat.h... yes
83
+ checking for stdlib.h... yes
84
+ checking for string.h... yes
85
+ checking for memory.h... yes
86
+ checking for strings.h... yes
87
+ checking for inttypes.h... yes
88
+ checking for stdint.h... yes
89
+ checking for unistd.h... yes
90
+ checking for unistd.h... (cached) yes
91
+ checking fcntl.h usability... yes
92
+ checking fcntl.h presence... yes
93
+ checking for fcntl.h... yes
94
+ checking signal.h usability... yes
95
+ checking signal.h presence... yes
96
+ checking for signal.h... yes
97
+ checking sys/cdefs.h usability... yes
98
+ checking sys/cdefs.h presence... yes
99
+ checking for sys/cdefs.h... yes
100
+ checking for sys/types.h... (cached) yes
101
+ checking for sys/stat.h... (cached) yes
102
+ checking sys/syscall.h usability... yes
103
+ checking sys/syscall.h presence... yes
104
+ checking for sys/syscall.h... yes
105
+ checking for dirent.h that defines DIR... yes
106
+ checking for library containing opendir... none required
107
+ checking for pipe2... yes
108
+ checking for setsid... yes
109
+ checking whether dirfd is declared... yes
110
+ configure: creating ./config.status
111
+ config.status: creating _posixsubprocess_config.h
112
+ building '_posixsubprocess32' extension
113
+ creating build/temp.linux-x86_64-2.7
114
+ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c _posixsubprocess.c -o build/temp.linux-x86_64-2.7/_posixsubprocess.o
115
+ _posixsubprocess.c:16:20: 致命的エラー: Python.h: そのようなファイルやディレクトリはありません
116
+ #include "Python.h"
117
+ ^
118
+ コンパイルを停止しました。
119
+ error: command 'gcc' failed with exit status 1
120
+
121
+ ----------------------------------------
122
+ Failed building wheel for subprocess32
123
+ Running setup.py clean for subprocess32
124
+ Failed to build subprocess32
125
+ Installing collected packages: subprocess32, matplotlib
126
+ Running setup.py install for subprocess32 ... error
127
+ Complete output from command /bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-JxgJ1K/subprocess32/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-dYQhY8/install-record.txt --single-version-externally-managed --compile:
128
+ running install
129
+ running build
130
+ running build_py
131
+ creating build
132
+ creating build/lib.linux-x86_64-2.7
133
+ copying subprocess32.py -> build/lib.linux-x86_64-2.7
134
+ running build_ext
135
+ running build_configure
136
+ _posixsubprocess_config.h is already up to date.
137
+ building '_posixsubprocess32' extension
138
+ creating build/temp.linux-x86_64-2.7
139
+ gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c _posixsubprocess.c -o build/temp.linux-x86_64-2.7/_posixsubprocess.o
140
+ _posixsubprocess.c:16:20: 致命的エラー: Python.h: そのようなファイルやディレクトリはありません
141
+ #include "Python.h"
142
+ ^
143
+ コンパイルを停止しました。
144
+ error: command 'gcc' failed with exit status 1
145
+
146
+ ----------------------------------------
147
+ Command "/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-JxgJ1K/subprocess32/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-dYQhY8/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-JxgJ1K/subprocess32/
148
+ ```