Idle install - no module time

Fredrik Lundh fredrik at pythonware.com
Fri Dec 17 03:28:17 EST 1999


Harold Weaver <hweaver at pinetel.com> wrote:
> I have a better definition of my problem: dynamically loaded modules are
> absent from my installation.  Should this problem be referred to a
> newsgroup that deals with "configure"ing and "make"ing ?

not necessarily.  let's see if this helps:

on unix, dynamically loaded modules have names
like "timemodule.so" etc.

first, make sure you have them in the build directory
(if not, look for *shared* in the Setup file, follow the
instructions in there, and rebuild)

next, check that they were installed (by default, they
should be placed in $prefix/lib/python-1.5/lib-dynload
where $prefix is the installation root.  use:

    >>> import sys
    >>> print sys.prefix 

to figure out what it is on your box (you can change
this by setting PYTHONHOME).

next, check that the lib-dynload directory is in the
path:

    >>> import sys
    >>> print sys.path

hope this helps!

</F>





More information about the Python-list mailing list