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