Time Module

A

at14

To whom it may concern,

My group has python version 2.2.1 installed on a linux system. I am in the
process of trying to run some software that requires a module called time.
For some reason, our python installation is missing this module. Our
administrator has tried to install a new version, but has hit a brick wall
with requests for strange dependencies. Would it be possible to import the
necessary files into our current installation directories?


Yours faithfully,

Alex Theodossis
 
P

Paul Boddie

To whom it may concern,

My group has python version 2.2.1 installed on a linux system. I am in the
process of trying to run some software that requires a module called time.
For some reason, our python installation is missing this module.

As far as I can tell, the time module is implemented as a C extension
and should always be present, unless some "advanced" configuration has
been undertaken somewhere. Is this a vendor/distribution-supplied
version of Python?
Our
administrator has tried to install a new version, but has hit a brick wall
with requests for strange dependencies. Would it be possible to import the
necessary files into our current installation directories?

Since the time module seems to be implemented by Modules/timemodule.c
then the answer to that question would be "no". What kinds of strange
dependencies are we talking about? Python compiles from source code
without any real configuration on any sane Linux distribution, and
should you *really* need to get Python running (before your
administrator sorts the problem out) then you could just build from
source and then install into some place in your home directory.

I'm starting to suspect package management issues in your environment,
however. Another possibility might be dynamic linking against a
libpython.so belonging to another Python release, but I've never
encountered that personally.

Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,661
Latest member
sxarexu

Latest Threads

Top