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
- Swift錯誤處理Swift
- Zabbix錯誤處理
- mysqldump錯誤處理MySql
- Python2.7安裝Scrapy錯誤處理Python
- 錯誤處理:如何通過 error、deferred、panic 等處理錯誤?Error
- mysql多源複製跳過錯誤處理方法MySql
- PHP錯誤處理和異常處理PHP
- go的錯誤處理Go
- Python之錯誤異常和檔案處理Python
- 異常錯誤資訊處理
- PHP 核心特性 - 錯誤處理PHP
- 常用模組 PHP 錯誤處理PHP
- laravel9 錯誤處理Laravel
- 淺談前端錯誤處理前端
- Oracle異常錯誤處理Oracle
- ORACLE 異常錯誤處理Oracle
- 15-錯誤處理(Error)Error
- 學習Rust 錯誤處理Rust
- axios 的錯誤處理iOS
- Go語言之錯誤處理Go
- GOLANG錯誤處理最佳方案Golang
- Objective-C:錯誤處理Object
- javascript之處理Ajax錯誤JavaScript
- 搭建dataguard時,錯誤處理
- Oracle錯誤處理思路(一)Oracle
- COM的錯誤處理 (轉)
- 使用PHP錯誤處理 (轉)PHP
- openGauss 處理錯誤表
- 簡單介紹Python 處理錯誤的原則Python
- 【故障處理】CRS-1153錯誤處理
- 【故障處理】ORA-19809錯誤處理
- rust學習十、異常處理(錯誤處理)Rust