How to run Python from build directory?

Quinn Dunkan quinn at yak.ugcs.caltech.edu
Thu Jul 19 14:55:12 EDT 2001


On Thu, 19 Jul 2001 11:07:35 +0400 (MSD), Roman Suzi <rnd at onego.ru> wrote:
>
>I want to try Python 2.2a1 and have already compiled it in the
>~/src/Python-2.2a1 directory.
>
>(there are problems with pyexpat, but python binary compiled OK).
>
>How do I run Python 2.2a1 using it's own libraries and all?

Did you try ./python ?

>                                                            (Right now I
>have a feeling it uses libs from /usr/python* ...)

Did you verify your feeling by typing

echo 'print "hello"' >>Lib/site.py; ./python

?

<wink>


Python does some pretty elaborate (too elaborate, IMHO) searching for library
directories.



More information about the Python-list mailing list