Python Mogo ImportError: cannot import name Connection

后端 未结 4 1774
轻奢々
轻奢々 2021-02-05 16:09

Can\'t figure out why this is not working.

mogo==0.2.4

File \"/Users/Sam/Envs/AdiosScraper/lib/python2.7/site-packages/mogo/connection.py\",         


        
4条回答
  •  日久生厌
    2021-02-05 16:24

    i had same problem and too many files had the import, so, i couldn't risk changing the import - (didn't knew exactly where all it is mentioned).

    I just downgraded pymongo:

    sudo pip install pymongo==2.7.2
    

    and it worked!

提交回复
热议问题