public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Python - !!! Failed to complete python imports.
@ 2005-10-27 16:48 Ryan Viljoen
  2005-10-27 18:29 ` Qian Qiao
  0 siblings, 1 reply; 6+ messages in thread
From: Ryan Viljoen @ 2005-10-27 16:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1117 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Python - !!! Failed to complete python imports.
  2005-10-27 16:48 [gentoo-user] Python - !!! Failed to complete python imports Ryan Viljoen
@ 2005-10-27 18:29 ` Qian Qiao
  2005-10-27 22:14   ` Ryan Viljoen
  0 siblings, 1 reply; 6+ messages in thread
From: Qian Qiao @ 2005-10-27 18:29 UTC (permalink / raw
  To: gentoo-user

On 10/27/05, Ryan Viljoen <ravilj@gmail.com> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Python - !!! Failed to complete python imports.
  2005-10-27 18:29 ` Qian Qiao
@ 2005-10-27 22:14   ` Ryan Viljoen
  2005-10-27 22:45     ` Qian Qiao
  2005-10-28  9:55     ` b.n.
  0 siblings, 2 replies; 6+ messages in thread
From: Ryan Viljoen @ 2005-10-27 22:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]

Already tried that. I get the same error.

On 10/27/05, Qian Qiao <qian.qiao@gmail.com> wrote:
>
> On 10/27/05, Ryan Viljoen <ravilj@gmail.com> 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
>
>


--
"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

[-- Attachment #2: Type: text/html, Size: 2221 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Python - !!! Failed to complete python imports.
  2005-10-27 22:14   ` Ryan Viljoen
@ 2005-10-27 22:45     ` Qian Qiao
  2005-10-28  3:27       ` PaulNM
  2005-10-28  9:55     ` b.n.
  1 sibling, 1 reply; 6+ messages in thread
From: Qian Qiao @ 2005-10-27 22:45 UTC (permalink / raw
  To: gentoo-user

On 10/27/05, Ryan Viljoen <ravilj@gmail.com> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Python - !!! Failed to complete python imports.
  2005-10-27 22:45     ` Qian Qiao
@ 2005-10-28  3:27       ` PaulNM
  0 siblings, 0 replies; 6+ messages in thread
From: PaulNM @ 2005-10-28  3:27 UTC (permalink / raw
  To: gentoo-user

Qian Qiao wrote:
> On 10/27/05, Ryan Viljoen <ravilj@gmail.com> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Python - !!! Failed to complete python imports.
  2005-10-27 22:14   ` Ryan Viljoen
  2005-10-27 22:45     ` Qian Qiao
@ 2005-10-28  9:55     ` b.n.
  1 sibling, 0 replies; 6+ messages in thread
From: b.n. @ 2005-10-28  9:55 UTC (permalink / raw
  To: gentoo-user

>      > !!! 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-10-28  8:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-27 16:48 [gentoo-user] Python - !!! Failed to complete python imports Ryan Viljoen
2005-10-27 18:29 ` Qian Qiao
2005-10-27 22:14   ` Ryan Viljoen
2005-10-27 22:45     ` Qian Qiao
2005-10-28  3:27       ` PaulNM
2005-10-28  9:55     ` b.n.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox