使用 pyppeteer 遇見 BrowserError: Failed to connect to browser port 解決辦法


輸入以下指令,可以解決 Pyppeteer 所產生的錯誤訊息

sudo apt-get install gconf-service libasound2 libatk1.0-0 libc6 
libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 
libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 
libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1
libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1
libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget

# 此解法參考 pyppeteer 在 github 所發佈的解決辦法
# 參考連結 https://github.com/puppeteer/puppeteer/issues/2462

1 則留言:

  1. As stated by Stanford Medical, It's in fact the ONLY reason women in this country live 10 years longer and weigh an average of 42 lbs less than us.

    (Just so you know, it has absolutely NOTHING to do with genetics or some hard exercise and absolutely EVERYTHING about "HOW" they eat.)

    P.S, What I said is "HOW", and not "WHAT"...

    CLICK on this link to uncover if this easy questionnaire can help you discover your true weight loss potential

    回覆刪除

技術提供:Blogger.