
/Users/choehyeon-u/Desktop/sparta/projects/mars/venv/bin/python /Users/choehyeon-u/Desktop/sparta/projects/mars/app.py
Traceback (most recent call last):
File "/Users/choehyeon-u/Desktop/sparta/projects/mars/app.py", line 5, in <module>
import certifi
ModuleNotFoundError: No module named 'certifi'
종료 코드 1(으)로 완료된 프로세스
화성땅 공동구매 프로젝트 중 데이터 저장하고 pretend 하는 부분에서 위와 같이 뜹니다
전에 mongonDB 클러스트 생성할때 강의와 다르게 해서 즉문즉답 했습니다
from pymongo import MongoClient
import certifi
ca = certifi.where()
client = MongoClient('mongodb+srv://test:sparta@cluster0.n55jjfg.mongodb.net/?retryWrites=true&w=majority', tlsCAFile=ca)
db = client.dbsparta
이런식으로 전 강의에서 진행 했었습니다
