Hi all,
I'm having some trouble with imports. The weird thing is that it works
fine on one machine, but not on another one, and I cannot figure out
why.

Specifically importing optparse seems to be broken somehow. I tested
some other modules like sys and os and they work ok, but the
following:

import optparse
...
parser = optparse.OptionParser(...)

breaks at the OptionParser construction. The specific error is:

Traceback (most recent call last):
  File "<string>", line 137, in ?
AttributeError: 'module' object has no attribute 'OptionParser'

Any pointers?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to