목록기록/Troubleshooting (12)
코딩일상
mac 터미널에 homebrew를 이용하여 git을 설치하는경우 아래와 같은 오류가 발생하였다. zsh: command not found: brew 왜 brew라는 명령어가 없다고 뜰까 고민을 해서 구글링을 해보니 homebrew의 경로가 잘못 설정되어있었기에 명령어가 제대로 실행이 되지 않았고 아래 명령어를 입력한후 export PATH=/opt/homebrew/bin:$PATH 출처: https://designdepot.tistory.com/209 [Designdepot | Better Life:티스토리] brew install git 명령어를 통해 git설치를 마무리 지을수 있었다. 참고블로그 https://designdepot.tistory.com/209
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/yxebz/btrFLEqzJNm/ogyN8zN3BUOQx69LSFVmE0/img.png)
파이참 패키지에서 certifi를 설치한다 아래와 같이 빨간 부분을 추가한다. import certifi ca = certifi.where() client = MongoClient('mongodb+srv://test:sparta@cluster0.내주소.mongodb.net/내DB명?retryWrites=true&w=majority', tlsCAFile=ca) 물론 주소는 각자의 것으로 from pymongo import MongoClient import certifi/////// ca = certifi.where()////// client = MongoClient('mongodb+srv://test:sparta@cluster0.내주소.mongodb.net/내DB명?retryWrites=true&w=maj..