ez_setup.py

Tim Golden mail at timgolden.me.uk
Mon Feb 26 11:18:07 EST 2007


Nader Emami wrote:

>>> How can do the second solution, (take off the home from Python path)?
>>
>> Depends on your setup. Since you're on *nix, I can't
>> test whether $HOME is automatically on sys.path (it
>> isn't on Win32). Are you running *in* /usr/people/emami?
>> If so, go somewhere else before you run ez_setup. Check
>> your PYTHONPATH env var; perhaps reset it before
>> running ez_setup. There are other more obscure possibilities
>> to do with things set in site.py but they're less likely.
>>
>> TJG
> I have a Linux and I don't have any PYTHONPTH variable, because if I run 
> the next command it returns nothig:
> 
> %env | grep -i pythonpath or
> %env | grep -i python

I'm no expert here, but I believe that Linux is
case-sensitive, so you'd need to do:

env | grep PYTHONPATH

TJG



More information about the Python-list mailing list