質問編集履歴
1
書式を改善しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -116,6 +116,8 @@
|
|
116
116
|
|
117
117
|
|
118
118
|
|
119
|
+
```
|
120
|
+
|
119
121
|
from pyppeteer.launcher import Launcher
|
120
122
|
|
121
123
|
import os
|
@@ -128,30 +130,42 @@
|
|
128
130
|
|
129
131
|
os.system(cmd)
|
130
132
|
|
133
|
+
```
|
134
|
+
|
131
135
|
|
132
136
|
|
133
137
|
すると、下記のエラーが出ました。
|
134
138
|
|
135
139
|
|
136
140
|
|
141
|
+
```
|
142
|
+
|
137
143
|
cmd: /home/ec2-user/.local/share/pyppeteer/local-chromium/588429/chrome-linux/chrome --disable-background-networking --disable-background-timer-throttling --disable-breakpad --disable-browser-side-navigation --disable-client-side-phishing-detection --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=site-per-process --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --disable-translate --metrics-recording-only --no-first-run --safebrowsing-disable-auto-update --enable-automation --password-store=basic --use-mock-keychain --headless --hide-scrollbars --mute-audio about:blank --remote-debugging-port=51403 --user-data-dir=/home/ec2-user/.local/share/pyppeteer/.dev_profile/tmprn51u4wk
|
138
144
|
|
139
145
|
/home/ec2-user/.local/share/pyppeteer/local-chromium/588429/chrome-linux/chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
|
140
146
|
|
147
|
+
```
|
148
|
+
|
141
149
|
|
142
150
|
|
143
151
|
libXss.so.1がインストールされてないとのことでしたので、ターミナルから下記コマンドを実行しました。
|
144
152
|
|
145
153
|
|
146
154
|
|
155
|
+
```
|
156
|
+
|
147
157
|
sudo yum install libXss.so.1
|
148
158
|
|
159
|
+
```
|
160
|
+
|
149
161
|
|
150
162
|
|
151
163
|
すると下記エラーが出ました。
|
152
164
|
|
153
165
|
|
154
166
|
|
167
|
+
```
|
168
|
+
|
155
169
|
Loaded plugins: priorities, update-motd, upgrade-helper
|
156
170
|
|
157
171
|
amzn-main | 2.1 kB 00:00:00
|
@@ -164,20 +178,28 @@
|
|
164
178
|
|
165
179
|
Error: Nothing to do
|
166
180
|
|
181
|
+
```
|
182
|
+
|
167
183
|
|
168
184
|
|
169
185
|
libXss.so.1の在りかを探そうと下記コマンドを実行。
|
170
186
|
|
171
187
|
|
172
188
|
|
189
|
+
```
|
190
|
+
|
173
191
|
sudo yum whatprovides */libXss.so.1
|
174
192
|
|
193
|
+
```
|
194
|
+
|
175
195
|
|
176
196
|
|
177
197
|
下記エラーが出て、どうしたらいいかわからなくなりました。
|
178
198
|
|
179
199
|
|
180
200
|
|
201
|
+
```
|
202
|
+
|
181
203
|
Loaded plugins: priorities, update-motd, upgrade-helper
|
182
204
|
|
183
205
|
1072 packages excluded due to repository priority protections
|
@@ -186,6 +208,8 @@
|
|
186
208
|
|
187
209
|
No matches found
|
188
210
|
|
211
|
+
```
|
212
|
+
|
189
213
|
|
190
214
|
|
191
215
|
### 補足情報(FW/ツールのバージョンなど)
|