[英]unable to connect to my mongodb using visual studio code and pymongo
I don't know what is happening with my visual studio code and pymongo, but I am always getting timeouts when I try to connect to my atlas cluster.我不知道我的 Visual Studio 代码和 pymongo 发生了什么,但是当我尝试连接到我的 atlas 集群时,我总是遇到超时。 The funny thing is that I am able to connect in pycharm and in the terminal.
有趣的是,我能够在 pycharm 和终端中连接。
Is there any configuration I must set up to allow VScode in python to connect to my mongo atlas.我必须设置任何配置以允许 python 中的 VScode 连接到我的 mongo 地图集。
Btw, I am also able to connect to my mongo atlas using vscode mongo extension顺便说一句,我还可以使用 vscode mongo 扩展连接到我的 mongo atlas
Seems that is a problem related with the M1 of apple, I installed an anaconda environment and everything worked like charm似乎这是与苹果 M1 相关的问题,我安装了一个 anaconda 环境,一切正常
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.