[Pythonmac-SIG] PackMan issues

Bob Ippolito bob at redivi.com
Sat Nov 1 18:22:26 EST 2003


On Nov 1, 2003, at 6:15 PM, Nicholas Riley wrote:

> On Sat, Nov 01, 2003 at 02:56:06PM -0800, Kevin Ollivier wrote:
>> I created a new package and uploaded it to the same place
>> (http://www.theolliviers.com/python/wxpm/) if anyone wants to give  
>> this
>> a shot. Hopefully now you can do more than just look at the  
>> screenshot!
>
> Still getting the same problem (no wxPython), unfortunately.  I see it
> in Modules.zip but it must be that it's not ending up on the path.
>
> Traceback (most recent call last):
>   File "Contents/Resources/wxPackageManager.py", line 32, in ?
>     from wxPython.wx import *
> ImportError: No module named wxPython.wx

I put this at the top of wxPackageManager.py:
import sys, os
os.chdir(os.path.split(__file__)[0])
sys.path.append(os.path.realpath('Modules.zip'))

The new traceback is:
Traceback (most recent call last):
   File  
"/Users/bob/download/wxPackageManager.app/Contents/Resources/ 
wxPackageManager.py", line 727, in ?
     app = MyApp(0)
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/wxPython/wx.py", line 1951, in __init__
   File  
"/Users/bob/download/wxPackageManager.app/Contents/Resources/ 
wxPackageManager.py", line 92, in OnInit
     self.frame = PackageManagerMain()
   File  
"/Users/bob/download/wxPackageManager.app/Contents/Resources/ 
wxPackageManager.py", line 219, in __init__
     self.LoadPackages()
   File  
"/Users/bob/download/wxPackageManager.app/Contents/Resources/ 
wxPackageManager.py", line 360, in LoadPackages
     packages = self.mypimp.packages
AttributeError: PimpInterface instance has no attribute 'packages'

-bob




More information about the Pythonmac-SIG mailing list