Go Back   Velocity Reviews > Newsgroups > Python
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Python - Re: Py2exe error

 
Thread Tools Search this Thread
Old 11-07-2009, 06:12 AM   #1
Default Re: Py2exe error


On Fri, Nov 6, 2009 at 9:40 PM, Joshua Leihe <> wrote:
> Hello, I was wondering if anyone know how to fix this.
> When I try to import py2exe version 0.6.9, using the command "import py2exe"
> I get the following error message.
>
> Warning (from warnings module):
> Â* File "C:\Program Files\Python25\lib\site-packages\py2exe\build_exe..py",
> line 16
> Â*Â*Â* import sets
> DeprecationWarning: the sets module is deprecated
>
> Apparently something is wrong with the sets module, but I don't know how to
> fix it.
> Any ideas?


It's a warning, not an error, so you don't truly need to fix it. You
can safely ignore it.
Apparently your version of py2exe was written for a Python version
before sets became a built-in type and thus importing the `sets`
module was required in order to use them.
Since sets are now built-in, the `sets` module is being phased out,
hence the warning; nothing is erroneous with the `sets` module, you're
just being told the py2exe code is using it and that it's being
deprecated. The py2exe code will /eventually/ need to be changed when
it's ported to a version of Python that completely removes the `sets`
module (e.g. 3.x), but it's nothing you personally need to worry
about.

Cheers,
Chris
--
http://blog.rebertia.com


Chris Rebert
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE problem: warn HTTP: Error 12007 connecting to... =?Utf-8?B?RDNhdGhqYW0=?= Wireless Networking 11 01-27-2008 05:43 PM
Need help on a Modelsim VHDL Syntax? ASAP:) kaji Software 0 03-14-2007 10:43 PM
XP with KB893357 =?Utf-8?B?amVtaXNz?= Wireless Networking 3 09-02-2005 09:59 AM
Error TRADESMAN Computer Support 1 11-07-2004 08:41 PM
XP error messages whocares Computer Support 3 06-11-2004 08:35 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46