![]() |
|
|
|
#1 |
|
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 |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |