requests_html导入错误,Python requests-html扔多处理错误

我试图移动web抓取程序使用请求图书馆requests-html图书馆允许我把网页上的javascript。 导入的模块抛出这个错误:

Traceback (most recent call last):

File "backend2.py", line 2, in

import requests_html

File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests_html.py", line 9, in

import pyppeteer

File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/init.py", line 30, in

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

from pyppeteer.browser import Browser

File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/browser.py", line 15, in

from pyppeteer.page import Page

File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/page.py", line 20, in

from pyppeteer.coverage import Coverage

File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyppeteer/coverage.py", line 15, in

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

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

from tqdm import tqdm

File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tqdm/init.py", line 1, in from ._tqdm import tqdmFile "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tqdm/_tqdm.py", line 75, in mp_lock = mp.RLock() # multiprocessing lockAttributeError: module ‘multiprocessing‘ has no attribute ‘RLock‘

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值