Where are python module installed?

Peng Yu pengyu.ut at gmail.com
Sun Sep 20 21:46:21 EDT 2009


On Sun, Sep 20, 2009 at 8:37 PM, Daniel Fetchinson
<fetchinson at googlemail.com> wrote:
>> I configured python-2.6.2 with my own --prefix, then 'make' and 'make
>> install'. I only find the following dirs and I don't find any python
>> modules in the directory. Do python modules come with python-2.6.2?
>>
>> $ ls
>> bin  include  lib  share
>
> Try 'ls lib/python*' and also 'ls lib/python*/site-packages/'

Do I need to set PYTHONPATH to lib/python* because I changed the
default 'prefix'?

Regards,
Peng



More information about the Python-list mailing list