Python requests-html扔多處理錯誤
我試圖移動web抓取程式使用請求圖書館requests-html圖書館允許我把網頁上的javascript。 匯入的模組丟擲這個錯誤:
Traceback (most recent call last): File "backend2.py", line 2, in <module> import requests_html File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests_html.py", line 9, in <module> import pyppeteer File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/__init__.py", line 30, in <module> from pyppeteer.launcher import connect, launch, executablePath # noqa: E402 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/launcher.py", line 24, in <module> from pyppeteer.browser import Browser File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/browser.py", line 15, in <module> from pyppeteer.page import Page File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/page.py", line 20, in <module> from pyppeteer.coverage import Coverage File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/coverage.py", line 15, in <module> from pyppeteer.util import merge_dict File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/util.py", line 10, in <module> from pyppeteer.chromium_downloader import check_chromium, chromium_executable File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/chromium_downloader.py", line 15, in <module> from tqdm import tqdm File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tqdm/__init__.py", line 1, in <module> from ._tqdm import tqdm File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tqdm/_tqdm.py", line 75, in <module> mp_lock = mp.RLock() # multiprocessing lockAttributeError: module 'multiprocessing' has no attribute 'RLock'
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31559515/viewspace-2221848/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Python錯誤處理Python
- Python錯誤處理和異常處理(二)Python
- 錯誤處理
- PHP 錯誤處理PHP
- php錯誤處理PHP
- Go 錯誤處理Go
- Python2.7安裝Scrapy錯誤處理Python
- 錯誤處理:如何通過 error、deferred、panic 等處理錯誤?Error
- Python之錯誤異常和檔案處理Python
- openGauss 處理錯誤表
- go的錯誤處理Go
- axios 的錯誤處理iOS
- mysql多源複製跳過錯誤處理方法MySql
- 簡單介紹Python 處理錯誤的原則Python
- Oracle異常錯誤處理Oracle
- 淺談前端錯誤處理前端
- ORACLE 異常錯誤處理Oracle
- PHP 核心特性 - 錯誤處理PHP
- 15-錯誤處理(Error)Error
- Go語言之錯誤處理Go
- grpc中的錯誤處理RPC
- laravel9 錯誤處理Laravel
- 學習Rust 錯誤處理Rust
- rust學習十、異常處理(錯誤處理)Rust
- Go多協程併發環境下的錯誤處理Go
- node端統一錯誤處理
- node錯誤處理與日誌
- [轉] Scala Try 與錯誤處理
- js錯誤處理權威指北JS
- [譯] 使用 Catcher 處理 Flutter 錯誤Flutter
- 如何處理錯誤訊息PleaseinstalltheLinuxkernelheaderfilesLinuxHeader
- 錯誤碼全域性處理(二)
- 錯誤碼全域性處理(一)
- PHP安裝後錯誤處理PHP
- 常用模組 PHP 錯誤處理PHP
- Restful API 中的錯誤處理RESTAPI
- 請教 Element 的錯誤處理
- 異常錯誤資訊處理