일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 순수함수
- decorator
- ds_store
- S3
- os.path
- 함수형 프로그래밍
- sort(reverse=True) v.s. reverse
- 쿼리
- Airflow
- r-string
- OS
- blinker
- boto3
- functools.wraps
- 생각
- slicing [::-1]
- reverse v.s. reversed
- pandas
- PIP
- selenium-wire
- 고차함수
- timestamp
- CI/CD
- [초급(예비) 개발자 오픈소스 실무 역량강화 교육]
- Python
- sort v.s. sorted
- 코딩 테스트
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에 모듈 버전 업데이트하는 거 잊지말자!