It is equal to the program cannot be executed automatically, ask for help!!!!!!!!!!! I WeChat 47721375
CodePudding user response:
Directly to a command prompt python py files to see what promptedOr debugging in the IDE,
CodePudding user response:
Just use this way to get a really have the error,E: \ pywork \ pymongo> Python pymongo. Py
Traceback (the most recent call last) :
The File "pymongo. Py", line 3, the in & lt; module>
The import pymongo
The File "e: \ pywork \ pymongo \ pymongo py", line 6, the in & lt; module>
Myclient=pymongo. MongoClient (" mongo://localhost: 27017/")
AttributeError: partially initialized module 'pymongo' has no attribute 'MongoClient (most likely due to a circular import)
Was later found my file name is wrong, and pymongo fixed file name repetition, thank you, this is really god pit, if not found that want to be stuck
CodePudding user response:
To solve the good,