On Sat, 17 Oct 2009 23:59:44 +0000 (UTC) Duncan <1i5t5.dun...@cox.net> wrote:
> Frank Peters posted on Sat, 17 Oct 2009 19:02:15 -0400 as excerpted: > > > Recently, after an emerge I will sometimes see this message in bold red > > colors: > > > > !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection > > > > Everything functions normally and there are no problems with anything > > else. But why the message? The source of the message is the portage > > getbinpkg.py file, but I don't know the purpose of this file. > > getbinpkg.py would do what its name implies, check for binary packages. > Standard from-source emerging should work fine, as you noted it seems to, > but if you run FEATURES=buildpkg as I do, or otherwise have binary > packages available, it's likely you'll have trouble merging them when you > try. > That is correct. Now that I've done some checking, the message occurs when I use the "-B" option to emerge. But I also have seen it following an emerge --sync. > The problem is likely related to portage's interaction with python. Do > you have both python-3 and python 2.5 or 2.6 merged? I have python-3.1.1 and python-2.6.3 installed. It was not my intention to install both; portage/emerge just did it automatically. By the time I noticed this dual installation my system was in place for some time and running without problems, so I just left things that way. Python-updater (run without options) doesn't report any anomaly. What python version should I be using as the system python, 2.6.3 or 3.1.1? Should I delete the older version and run python-updater? Frank Peters