Py2exe and Module Error...

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Oct 22 23:33:22 EDT 2008


En Wed, 22 Oct 2008 20:34:39 -0200, <vincehofmeister at gmail.com> escribió:

> I am using py2exe and everything is working fine except one module,
> ClientCookie, found here:
>
> http://wwwsearch.sourceforge.net/ClientCookie/
>
> Keeps coming up as not found no matter what I do. I have tried all
> these combinations from the command line:

Add `import ClientCookie` to your setup.py (to make sure you actually  
*can* import it in your development environment).
Also declare it as a required *package* (not module):

setup(windows=["C:\\exe\\pos_final2.py"],
       ...
       options={'py2exe': {
         'packages': ['ClientCookie',]
         })

-- 
Gabriel Genellina




More information about the Python-list mailing list