473,657 Members | 2,524 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Time Module

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
-----------------------------------------------------------------
University of St Andrews Webmail: http://webmail.st-andrews.ac.uk

----- End forwarded message -----


-----------------------------------------------------------------
University of St Andrews Webmail: http://webmail.st-andrews.ac.uk
Jul 18 '05 #1
1 2137
at**@st-andrews.ac.uk wrote in message news:<ma******* *************** *************** @python.org>...
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
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
9436
by: Gerrit Holl | last post by:
Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $ Last-Modified: $Date: 2003/10/28 19:48:44 $ Author: A.M. Kuchling <amk@amk.ca> Status: Draft Type: Standards Track
1
2519
by: myang | last post by:
How can I know a module take how much time? Thanks for any hints. Regards, Yang
2
1308
by: Sean Berry | last post by:
I was writing a little script to test different functions of the time module. Like an idiot, I named the test script time.py. Then when I tried to do a "import time" call, I got an error. So, my time.py has overwritten the time.py builtin mod. I have python 2.3 installed on a few different servers, so I was going to copy over the .py file in /usr/local/lib/python2.3, but I could not find one... not even on the servers where I didn't...
0
1169
by: François Pinard | last post by:
Hi, everybody. I wish someone could advise me. I'm running in circles, trying to find an elegant way to devise run-time pluggable classes. It all goes around method resolution order, I guess. (We already use various solutions, but the maintenance burden is high.) We have a common module containing many basic classes, but for the sake of simplicity here, I'll use only Element and Connection. Next to this common module, we have many...
3
2027
by: cj | last post by:
If I want to check to see if it's after "11:36 pm" what would I write? I'm sure it's easy but I'm getting tired of having to work with dates and times. Sometimes I just want time or date. And to be able to do comparisons on them.
6
1673
by: DarkBlue | last post by:
My application makes several connections to a remote database server via tcp/ip. Usually all is fine,but occasionally the server is down or the internet does not work and then there is the 30 sec to several minutes timeout wait for the tcp to give up. Is there anything I can do without using threads,sockets,twisted etc. to have following : pseudocode :
4
3520
by: kwatch | last post by:
Hi, I have a question about os.times(). os.times() returns a tuple containing user time and system time, but it is not matched to the result of 'time' command. For example, os.times() reports that user time is 39.85 sec, but 'time' command reports that user time is 28.55sec. (machine: Python2.5, MacOS X 10.4 Tiger, MacBook 1.83GHz intel core duo)
13
2079
by: HMS Surprise | last post by:
I need to convert the string below into epoch seconds so that I can perform substractions and additions. I assume I will need to break it up into a time_t struct and use mktime. Two questions if you will please: Is there a way to use multiple separator characters for split similar to awk's style? Could you point to an example of a python time_t struct?
2
1506
by: Joshua J. Kugler | last post by:
I am getting results like these with the time module: %S'))) 1173610800 %S'))) 1173610800 '2007-03-11 03:00:00' I know it probably has something to do with daylight savings, but how can I get back out that which I put in? The times concerned are all standard
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8513
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.