1 |
Frank Peters posted on Sat, 17 Oct 2009 19:02:15 -0400 as excerpted: |
2 |
|
3 |
> Recently, after an emerge I will sometimes see this message in bold red |
4 |
> colors: |
5 |
> |
6 |
> !!! CANNOT IMPORT HTTP.CLIENT: cannot import name HTTPSConnection |
7 |
> |
8 |
> Everything functions normally and there are no problems with anything |
9 |
> else. But why the message? The source of the message is the portage |
10 |
> getbinpkg.py file, but I don't know the purpose of this file. |
11 |
|
12 |
getbinpkg.py would do what its name implies, check for binary packages. |
13 |
Standard from-source emerging should work fine, as you noted it seems to, |
14 |
but if you run FEATURES=buildpkg as I do, or otherwise have binary |
15 |
packages available, it's likely you'll have trouble merging them when you |
16 |
try. |
17 |
|
18 |
The problem is likely related to portage's interaction with python. Do |
19 |
you have both python-3 and python 2.5 or 2.6 merged? The newest versions |
20 |
of python packages and portage itself should work fine in that case, but |
21 |
the fixes necessary to make it work are fairly recent, so you may have to |
22 |
remerge various python packages (some may require the newest ~arch |
23 |
version) so they setup modules for both python 3 and python 2.x -- |
24 |
formerly they only setup modules in whatever python happened to be the |
25 |
system python at the time. |
26 |
|
27 |
But if you don't bother with binary packages anyway, at least that |
28 |
message shouldn't be an issue for you, you should be able to simply |
29 |
ignore it. |
30 |
|
31 |
-- |
32 |
Duncan - List replies preferred. No HTML msgs. |
33 |
"Every nonfree program has a lord, a master -- |
34 |
and if you use the program, he is your master." Richard Stallman |