Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Import site

Reply
Thread Tools

Import site

 
 
satish k.chimakurthi
Guest
Posts: n/a
 
      08-20-2003
Hello all,

I am trying to load a module in python. When I said python at the
commandprompt, I got the following and yet I am able to go to the python
prompt

$ python
'import site' failed; use -v for traceback
Python 1.5.2 (#1, Apr 3 2002, 18:16:26) [GCC 2.96 20000731 (Red Hat Linux
7.2 2 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>>



Can someone throw light on this ??


Thanks in advance,
SATISH


SATISH K.CHIMAKURTHI
GRADUATE TEACHING ASSISTANT
UNIVERSITY OF KENTUCKY
LEXINGTON, KY



 
Reply With Quote
 
 
 
 
Christos TZOTZIOY Georgiou
Guest
Posts: n/a
 
      08-22-2003
On Wed, 20 Aug 2003 13:07:49 -0400, rumours say that "satish
k.chimakurthi" <(E-Mail Removed)> might have written:

>I am trying to load a module in python. When I said python at the
>commandprompt, I got the following and yet I am able to go to the python
>prompt
>
>$ python
>'import site' failed; use -v for traceback


A slight chance; if you enter the 'env' command at the shell prompt,
does it contain a 'PYTHONHOME' environment variable? If yes, unset it.
--
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASA 5505 site-site VPN - other site dynamic? SteveB Cisco 0 03-26-2009 01:48 PM
List of free web site design, web site backgrounds, web site layoutsresources cyber XML 1 12-25-2007 11:48 PM
Free web site design, web site backgrounds, web site layoutsresources cyber HTML 0 12-24-2007 04:26 PM
List of free web site design, web site backgrounds, web site layoutsresources cyber HTML 0 12-21-2007 03:47 PM
List of free web site design, web site backgrounds, web site layoutsweb sites cyber HTML 1 12-19-2007 09:07 AM



Advertisments