[Distutils] setuptools acting differently in different shell environments

Ian Bicking ianb at colorstudy.com
Thu Aug 7 00:36:46 CEST 2008

Phillip J. Eby wrote:
> At 02:40 PM 8/6/2008 -0700, Chris Maddison wrote:
>> It seems like a different default directory is being used and I can't
>> figure out why or how to change that. On top of that, when I try
>> forcing it in various ways (including .cfg files) suggested in the
>> setuptools documentation it says that those directories aren't in the
>> python path as my $PYTHONPATH variable is ''. This is strange, because
>> sys.path DOES come up with the correct paths.
> It sounds like you're using different versions of Python in the two 
> environments.  That would explain everything, pretty much.  It also 
> sounds like a very Mac-specific issue.

And if you suspect this, check with "python -c 'import sys; print 
sys.executable'".  "which" sometimes lies.

Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org

More information about the Distutils-SIG mailing list