ModuleNotFoundError: No module named 'seleniumwire'

Traceback (most recent call last):
  File "/path/to/download_media_from_page.py", line 10, in <module>
    from seleniumwire import webdriver as wire_webdriver
ModuleNotFoundError: No module named 'seleniumwire'
$ pip install selenium selenium-wire
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Requirement already satisfied: selenium in /usr/local/lib/python3.9/site-packages (4.21.0)
Collecting selenium-wire
  Downloading selenium_wire-5.1.0-py3-none-any.whl.metadata (49 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.4/49.4 kB 117.3 kB/s eta 0:00:00
Requirement already satisfied: urllib3<3,>=1.26 in /usr/local/lib/python3.9/site-packages (from urllib3[socks]<3,>=1.26->selenium) (2.2.1)
Requirement already satisfied: trio~=0.17 in /usr/local/lib/python3.9/site-packages (from selenium) (0.25.1)
Requirement already satisfied: trio-websocket~=0.9 in /usr/local/lib/python3.9/site-packages (from selenium) (0.11.1)
Requirement already satisfied: certifi>=2021.10.8 in /usr/local/lib/python3.9/site-packages (from selenium) (2024.2.2)
Requirement already satisfied: typing_extensions>=4.9.0 in /usr/local/lib/python3.9/site-packages (from selenium) (4.11.0)
Collecting blinker>=1.4 (from selenium-wire)
  Downloading blinker-1.8.2-py3-none-any.whl.metadata (1.6 kB)
Collecting brotli>=1.0.9 (from selenium-wire)
  Downloading Brotli-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl.metadata (5.5 kB)
Collecting kaitaistruct>=0.7 (from selenium-wire)
  Downloading kaitaistruct-0.10-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting pyasn1>=0.3.1 (from selenium-wire)
  Downloading pyasn1-0.6.0-py2.py3-none-any.whl.metadata (8.3 kB)
Collecting pyOpenSSL>=22.0.0 (from selenium-wire)
  Downloading pyOpenSSL-24.1.0-py3-none-any.whl.metadata (12 kB)
Collecting pyparsing>=2.4.2 (from selenium-wire)
  Downloading pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)
Requirement already satisfied: pysocks>=1.7.1 in /usr/local/lib/python3.9/site-packages (from selenium-wire) (1.7.1)
Requirement already satisfied: wsproto>=0.14 in /usr/local/lib/python3.9/site-packages (from selenium-wire) (1.2.0)
Collecting zstandard>=0.14.1 (from selenium-wire)
  Downloading zstandard-0.22.0-cp39-cp39-macosx_10_9_x86_64.whl.metadata (2.9 kB)
Collecting h2>=4.0 (from selenium-wire)
  Downloading h2-4.1.0-py3-none-any.whl.metadata (3.6 kB)
Collecting hyperframe>=6.0 (from selenium-wire)
  Downloading hyperframe-6.0.1-py3-none-any.whl.metadata (2.7 kB)
Collecting hpack<5,>=4.0 (from h2>=4.0->selenium-wire)
  Downloading hpack-4.0.0-py3-none-any.whl.metadata (2.5 kB)
Collecting cryptography<43,>=41.0.5 (from pyOpenSSL>=22.0.0->selenium-wire)
  Downloading cryptography-42.0.7-cp39-abi3-macosx_10_12_universal2.whl.metadata (5.3 kB)
Requirement already satisfied: attrs>=23.2.0 in /usr/local/lib/python3.9/site-packages (from trio~=0.17->selenium) (23.2.0)
Requirement already satisfied: sortedcontainers in /usr/local/lib/python3.9/site-packages (from trio~=0.17->selenium) (2.4.0)
Requirement already satisfied: idna in /usr/local/lib/python3.9/site-packages (from trio~=0.17->selenium) (2.10)
Requirement already satisfied: outcome in /usr/local/lib/python3.9/site-packages (from trio~=0.17->selenium) (1.3.0.post0)
Requirement already satisfied: sniffio>=1.3.0 in /usr/local/lib/python3.9/site-packages (from trio~=0.17->selenium) (1.3.1)
Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.9/site-packages (from trio~=0.17->selenium) (1.2.1)
Requirement already satisfied: h11<1,>=0.9.0 in /usr/local/lib/python3.9/site-packages (from wsproto>=0.14->selenium-wire) (0.9.0)
Collecting cffi>=1.12 (from cryptography<43,>=41.0.5->pyOpenSSL>=22.0.0->selenium-wire)
  Downloading cffi-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.12->cryptography<43,>=41.0.5->pyOpenSSL>=22.0.0->selenium-wire)
  Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading selenium_wire-5.1.0-py3-none-any.whl (239 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.6/239.6 kB 473.5 kB/s eta 0:00:00
Downloading blinker-1.8.2-py3-none-any.whl (9.5 kB)
Downloading Brotli-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl (446 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.2/446.2 kB 1.5 MB/s eta 0:00:00
Downloading h2-4.1.0-py3-none-any.whl (57 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 4.5 MB/s eta 0:00:00
Downloading hyperframe-6.0.1-py3-none-any.whl (12 kB)
Downloading kaitaistruct-0.10-py2.py3-none-any.whl (7.0 kB)
Downloading pyasn1-0.6.0-py2.py3-none-any.whl (85 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.3/85.3 kB 1.5 MB/s eta 0:00:00
Downloading pyOpenSSL-24.1.0-py3-none-any.whl (56 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 1.7 MB/s eta 0:00:00
Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.2/103.2 kB 1.8 MB/s eta 0:00:00
Downloading zstandard-0.22.0-cp39-cp39-macosx_10_9_x86_64.whl (920 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 920.9/920.9 kB 452.8 kB/s eta 0:00:00
Downloading cryptography-42.0.7-cp39-abi3-macosx_10_12_universal2.whl (5.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.9/5.9 MB 220.5 kB/s eta 0:00:00
Downloading hpack-4.0.0-py3-none-any.whl (32 kB)
Downloading cffi-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl (182 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.5/182.5 kB 534.6 kB/s eta 0:00:00
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB 479.2 kB/s eta 0:00:00
Installing collected packages: brotli, zstandard, pyparsing, pycparser, pyasn1, kaitaistruct, hyperframe, hpack, blinker, h2, cffi, cryptography, pyOpenSSL, selenium-wire
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  Attempting uninstall: hyperframe
    Found existing installation: hyperframe 5.2.0
    Uninstalling hyperframe-5.2.0:
      Successfully uninstalled hyperframe-5.2.0
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  Attempting uninstall: hpack
    Found existing installation: hpack 3.0.0
    Uninstalling hpack-3.0.0:
      Successfully uninstalled hpack-3.0.0
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  Attempting uninstall: h2
    Found existing installation: h2 3.2.0
    Uninstalling h2-3.2.0:
      Successfully uninstalled h2-3.2.0
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
  DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
httpcore 0.9.1 requires h2==3.*, but you have h2 4.1.0 which is incompatible.
Successfully installed blinker-1.8.2 brotli-1.1.0 cffi-1.16.0 cryptography-42.0.7 h2-4.1.0 hpack-4.0.0 hyperframe-6.0.1 kaitaistruct-0.10 pyOpenSSL-24.1.0 pyasn1-0.6.0 pycparser-2.22 pyparsing-3.1.2 selenium-wire-5.1.0 zstandard-0.22.0
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末涩澡,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子扳炬,更是在濱河造成了極大的恐慌,老刑警劉巖及皂,帶你破解...
    沈念sama閱讀 211,194評(píng)論 6 490
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件棺妓,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡,警方通過(guò)查閱死者的電腦和手機(jī)澜共,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,058評(píng)論 2 385
  • 文/潘曉璐 我一進(jìn)店門向叉,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái),“玉大人咳胃,你說(shuō)我怎么就攤上這事植康。” “怎么了展懈?”我有些...
    開(kāi)封第一講書人閱讀 156,780評(píng)論 0 346
  • 文/不壞的土叔 我叫張陵销睁,是天一觀的道長(zhǎng)。 經(jīng)常有香客問(wèn)我存崖,道長(zhǎng)冻记,這世上最難降的妖魔是什么? 我笑而不...
    開(kāi)封第一講書人閱讀 56,388評(píng)論 1 283
  • 正文 為了忘掉前任来惧,我火速辦了婚禮冗栗,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘供搀。我一直安慰自己隅居,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 65,430評(píng)論 5 384
  • 文/花漫 我一把揭開(kāi)白布葛虐。 她就那樣靜靜地躺著胎源,像睡著了一般。 火紅的嫁衣襯著肌膚如雪屿脐。 梳的紋絲不亂的頭發(fā)上涕蚤,一...
    開(kāi)封第一講書人閱讀 49,764評(píng)論 1 290
  • 那天,我揣著相機(jī)與錄音的诵,去河邊找鬼万栅。 笑死,一個(gè)胖子當(dāng)著我的面吹牛西疤,可吹牛的內(nèi)容都是我干的烦粒。 我是一名探鬼主播,決...
    沈念sama閱讀 38,907評(píng)論 3 406
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼代赁,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼撒遣!你這毒婦竟也來(lái)了?” 一聲冷哼從身側(cè)響起管跺,我...
    開(kāi)封第一講書人閱讀 37,679評(píng)論 0 266
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤义黎,失蹤者是張志新(化名)和其女友劉穎,沒(méi)想到半個(gè)月后豁跑,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體廉涕,經(jīng)...
    沈念sama閱讀 44,122評(píng)論 1 303
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡泻云,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,459評(píng)論 2 325
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了狐蜕。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片宠纯。...
    茶點(diǎn)故事閱讀 38,605評(píng)論 1 340
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖层释,靈堂內(nèi)的尸體忽然破棺而出婆瓜,到底是詐尸還是另有隱情,我是刑警寧澤贡羔,帶...
    沈念sama閱讀 34,270評(píng)論 4 329
  • 正文 年R本政府宣布廉白,位于F島的核電站,受9級(jí)特大地震影響乖寒,放射性物質(zhì)發(fā)生泄漏猴蹂。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,867評(píng)論 3 312
  • 文/蒙蒙 一楣嘁、第九天 我趴在偏房一處隱蔽的房頂上張望磅轻。 院中可真熱鬧,春花似錦逐虚、人聲如沸聋溜。這莊子的主人今日做“春日...
    開(kāi)封第一講書人閱讀 30,734評(píng)論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)撮躁。三九已至,卻和暖如春涤伐,著一層夾襖步出監(jiān)牢的瞬間馒胆,已是汗流浹背缨称。 一陣腳步聲響...
    開(kāi)封第一講書人閱讀 31,961評(píng)論 1 265
  • 我被黑心中介騙來(lái)泰國(guó)打工凝果, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人睦尽。 一個(gè)月前我還...
    沈念sama閱讀 46,297評(píng)論 2 360
  • 正文 我出身青樓器净,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親当凡。 傳聞我的和親對(duì)象是個(gè)殘疾皇子山害,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 43,472評(píng)論 2 348

推薦閱讀更多精彩內(nèi)容