Neale Ferguson wrote: > This time with a subject heading (sorry) ... > > I’m installing pkg on a system built from scratch. I have python 2.5 > rather than the 2.4 pkg appears to have been built for, however, I'm not > sure that this is the issue. What I'm getting is the following: > > # [ne...@tideusr2] pkg > Traceback (most recent call last): > File "/usr/bin/pkg", line 63, in <module> > import pkg.client.bootenv as bootenv > File "/usr/local/lib/python2.5/site-packages/pkg/client/bootenv.py", > line 31, in <module> > from pkg.misc import msg, emsg > File "/usr/local/lib/python2.5/site-packages/pkg/misc.py", line 44, in > <module> > import pkg.urlhelpers as urlhelpers > File "/usr/local/lib/python2.5/site-packages/pkg/urlhelpers.py", line > 11, in <module> > class HTTPSCertHandler(urllib2.HTTPSHandler): > AttributeError: 'module' object has no attribute 'HTTPSHandler' > > This is on an OpenSolaris build 100 system.
I'd be curious as to how you got errors from python 2.5, as pkg only supports python 2.4 and we have #!/usr/bin/python2.4 at the top of all our scripts. 2.5 is untested and unsupported. -- Shawn Walker _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
