I'm having problems with py2exe

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • josh001
    New Member
    • Jul 2008
    • 19

    I'm having problems with py2exe

    Hey, in an earlier question I asked why gui2exe wasn't working.
    Since then I've tried a couple of things but haven't found out much. Only that the problem has something to do with the sets module which py2exe is accessing.

    I tried,
    Code:
    import py2exe
    and got,
    Code:
    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
    Then I tried,
    Code:
    import sets
    and got,
    Code:
    Warning (from warnings module):
      File "__main__", line 1
    DeprecationWarning: the sets module is deprecated
    But when I looked at the code for the sets module, I couldn't figure out what was wrong. (what does python mean by deprecated, by the way?)

    If anyone knows why this is happening, I really appreciate it.

    Joshua
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    The sets module has been deprecated since version 2.6. From the Python docs: "Deprecated since version 2.6: The built-in set/frozenset types replace this module."

    The definition of deprecated: "In computer software standards and documentation, the term deprecation is applied to software features that are superseded and should be avoided."

    Comment

    • josh001
      New Member
      • Jul 2008
      • 19

      #3
      Any way to fix py2exe?

      umm, ok.
      Is there any way to make py2exe work? Maybe by changing the code? Or is there an update that works on vista?

      Thank,
      Joshua

      Comment

      • bvdet
        Recognized Expert Specialist
        • Oct 2006
        • 2851

        #4
        I wish I could help, Joshua.

        BV

        Comment

        • CoryThompson
          New Member
          • Nov 2009
          • 2

          #5
          I would suggest reading this document

          Comment

          • josh001
            New Member
            • Jul 2008
            • 19

            #6
            Thanks,
            for some reason it's working now. Unfortunately I haven't the faintest idea why. :) Oh well it's working and I wouldn't know were to start figuring out why it's working so I wont even try.

            Josh

            Comment

            • bazookajoe1
              New Member
              • Mar 2010
              • 2

              #7
              I am having the same problem with py2exe. If anyone can help me I would greatly appreciate it.

              Comment

              Working...