Computer/Trouble Shooting
[Python]No module named 'blinker._saferef'
이르리의 공부일지
2024. 10. 9. 16:12
작성일: 2024-10-08
selenium-wire 완전히 설치하기
pip install selenium-wire # seleniumwire로 쓰면 안 됨
설치는 안전하게 마무리됐지만
selenium-wire를 import한 모듈을 실행시키니
Error occured.
No module named 'blinker._saferef'
아래 답변을 참고해서
아래와 같이 blinker 모듈 버전 명시해서 설치했더니 해결됐다.
pip install blinker==1.7.0
더보기
c.f.
https://github.com/seleniumbase/SeleniumBase/issues/2782
Wire Mode: `No module named 'blinker._saferef'` if installing `selenium-wire` alone · Issue #2782 · seleniumbase/SeleniumBase
Wire Mode: No module named 'blinker._saferef' if installing selenium-wire alone. Wire Mode (--wire / wire=True) uses the selenium-wire library. The selenium-wire library has a dependency on blinker...
github.com
유의!
pip install blinker 만 해서는 안 되고
버전 명시해야 해결된다.
곁들임말
requirements.txt에 모듈 버전 업데이트하는 거 잊지말자!