Menu

#53 setup.py install fails

closed-fixed
None
5
2008-07-12
2008-05-12
No

setup.py install fails with the message
ImportError: No module named ClientCookie

As it turns out, ClientCookie is not included in the libgmail release.

Discussion

  • rainwolf8472

    rainwolf8472 - 2008-06-02

    Logged In: YES
    user_id=1612199
    Originator: YES

    Solution: look for the ClientCookie module on Google.
    But the clientcookie install-script tells you you need updated setuptools and tries to download them by itself, however its url is outdated and doesn't exist anymore. But after more googling you can indeed find the much needed setup tools.

    Suggestion: Include the ClientCookie module in your libgmail distribution.

     
  • Mark

    Mark - 2008-07-10

    Logged In: YES
    user_id=778329
    Originator: NO

    Install python-mechanize library then

    cp /usr/local/lib/python2.5/site-packages/libgmail.py \ /usr/local/lib/python2.5/site-packages/libgmail.py.bak
    sed 's/import ClientCookie/import mechanize as ClientCookie/1' \ </usr/local/lib/python2.5/site-packages/libgmail.py.bak \ >/usr/local/lib/python2.5/site-packages/libgmail.py

     
  • Waseem Daher

    Waseem Daher - 2008-07-12

    Logged In: YES
    user_id=338872
    Originator: NO

    Fixed in CVS. Please check out the latest version; if it still doesn't work for you there, let us know.

     
  • Waseem Daher

    Waseem Daher - 2008-07-12
    • assigned_to: nobody --> wdaher
    • status: open --> closed-fixed
     

Log in to post a comment.