Strange behavior of ClientCookie and site-packages

Brian Ibbotson google at
Thu Sep 19 16:38:50 EDT 2002

I'm running Python 2.2 in RH7.3.

I've been trying to use ClientCookie, and have installed it per its
README instructions (moving it to a ClientCookie dir in

The module is accessible from the 2.2 command line shell, where
sys.path reports


among the search paths. The command

   import ClientCookie

succeeds without problem.

However, Idle for Python 2.2 cannot do the same. With an identical set
of paths reported by sys.path, including the ClientCookie reference
above, Idle reports:

   >>> import ClientCookie
   Traceback (most recent call last):
     File "<pyshell#0>", line 1, in ?
       import ClientCookie
   ImportError: No module named ClientCookie

Can anyone suggest an explanation for this behavior? Other third-party
modules installed to site-packages (such as ChartDirector and MySQLdb)
have had no problems once they are included in sys.path

- Brian

More information about the Python-list mailing list