Re: [gentoo-user] Python - !!! Failed to complete python imports.

2005-10-28 Thread b.n.

 > !!! Failed to complete python imports. There are internal modules
for
 > !!! python and failure here indicates that you have a problem
with python
 > !!! itself and thus portage is no able to continue processing.
 >
 > !!! You might consider starting python with verbose flags to see
what has
 > !!! gone wrong. Here is the information we got for this exception:
 > No module named fcntl
 > 


It seems you just lack that fcntl module.
Can't you find what module it is and if you can just install and copy 
it, before messing with the whole python installation?


m.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Python - !!! Failed to complete python imports.

2005-10-27 Thread PaulNM

Qian Qiao wrote:

On 10/27/05, Ryan Viljoen <[EMAIL PROTECTED]> wrote:


Already tried that. I get the same error.



A stage1 tarball will contain a working copy of python and portage,
probably a fairly dated version tho.

Backup your files carefully, and give that a try?



Good idea,  Maybe getting the stage and extracting it in a temporary 
folder will work.  Then you could just copy over the files that you need.


It's better than my idea of just finding python sources online and 
manually compiling it.


' PaulNM
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Python - !!! Failed to complete python imports.

2005-10-27 Thread Qian Qiao
On 10/27/05, Ryan Viljoen <[EMAIL PROTECTED]> wrote:
> Already tried that. I get the same error.

A stage1 tarball will contain a working copy of python and portage,
probably a fairly dated version tho.

Backup your files carefully, and give that a try?

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Python - !!! Failed to complete python imports.

2005-10-27 Thread Ryan Viljoen
Already tried that. I get the same error.On 10/27/05, Qian Qiao <[EMAIL PROTECTED]> wrote:
On 10/27/05, Ryan Viljoen <[EMAIL PROTECTED]> wrote:> Ok I am in need of some serious help well my home server is:>> After emerging python (with distcc running and attempting to do a cross
> compilation) I get the following message when I try run any program> associated with python:>> > o_O / # env-update>>> !!! Failed to complete python imports. There are internal modules for
> !!! python and failure here indicates that you have a problem with python> !!! itself and thus portage is no able to continue processing.>> !!! You might consider starting python with verbose flags to see what has
> !!! gone wrong. Here is the information we got for this exception:> No module named fcntl> >> Yes that means i cant re-emerge python or anything :(
>>> --> "When you say "I wrote a program that crashed Windows", people just stare at> you blankly and say "Hey, I got those with the system, for free". - Linus
> Torvalds, 1995try give the python-updater script a go?HTH.-- Joe--There are 3 kinds of people in the world:Those who can count, and those who can't.Money can't buy everything.
Sometimes money can't even buy a gun...--gentoo-user@gentoo.org mailing list-- "When
you say "I wrote a program that crashed Windows", people just stare at
you blankly and say "Hey, I got those with the system, for free". -
Linus Torvalds, 1995


Re: [gentoo-user] Python - !!! Failed to complete python imports.

2005-10-27 Thread Qian Qiao
On 10/27/05, Ryan Viljoen <[EMAIL PROTECTED]> wrote:
> Ok I am in need of some serious help well my home server is:
>
> After emerging python (with distcc running and attempting to do a cross
> compilation) I get the following message when I try run any program
> associated with python:
>
> 
> o_O / # env-update
>
>
> !!! Failed to complete python imports. There are internal modules for
> !!! python and failure here indicates that you have a problem with python
> !!! itself and thus portage is no able to continue processing.
>
> !!! You might consider starting python with verbose flags to see what has
> !!! gone wrong. Here is the information we got for this exception:
> No module named fcntl
> 
>
> Yes that means i cant re-emerge python or anything :(
>
>
> --
> "When you say "I wrote a program that crashed Windows", people just stare at
> you blankly and say "Hey, I got those with the system, for free". - Linus
> Torvalds, 1995

try give the python-updater script a go?

HTH.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Python - !!! Failed to complete python imports.

2005-10-27 Thread Ryan Viljoen
Ok I am in need of some serious help well my home server is:

After emerging python (with distcc running and attempting to do a cross
compilation) I get the following message when I try run any program
associated with python:


o_O / # env-update








!!! Failed to complete python imports. There are internal modules for


!!! python and failure here indicates that you have a problem with python


!!! itself and thus portage is no able to continue processing.





!!! You might consider starting python with verbose flags to see what has


!!! gone wrong. Here is the information we got for this exception:


No module named fcntl



Yes that means i cant re-emerge python or anything :(

-- "When you say "I wrote a program that crashed Windows",
people just stare at you blankly and say "Hey, I got those with the
system, for free". - Linus Torvalds, 1995