Notice
Recent Posts
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |
Tags
- 함수형 프로그래밍
- boto3
- decorator
- slicing [::-1]
- timestamp
- [초급(예비) 개발자 오픈소스 실무 역량강화 교육]
- CI/CD
- functools.wraps
- blinker
- PIP
- 생각
- ds_store
- S3
- sort(reverse=True) v.s. reverse
- 코딩 테스트
- pandas
- sort v.s. sorted
- Chatbot
- Airflow
- Python
- reverse v.s. reversed
- OS
- 쿼리
- 고차함수
- r-string
- Rag
- 순수함수
- os.path
- selenium-wire
- mongoDB
Archives
- Today
- Total
공부일지
[Python]No module named 'blinker._saferef' 본문
작성일: 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에 모듈 버전 업데이트하는 거 잊지말자!