pymongo - mongodb+srv “dnspython must be installed” error

后端 未结 7 2083
再見小時候
再見小時候 2020-12-28 13:35

I am trying to connect MongoDB from Atlas But I encountered:

dnspython must be installed error

My mongo uri (mo

7条回答
  •  醉梦人生
    2020-12-28 14:02

    In requirements.txt, replace pymongo with pymongo[tls,srv], as mentioned here.

提交回复
热议问题