You are not logged in.
Pages: 1
I made a full Arch update yesterday, including pacman 3.0
Now when I try to run rankmirrors I get the message:
ImportError: No module named datetime.
Allthough I have /usr/include/python2.5/datetime.h
I guess I should set the correct path,
but I don't know where??
Offline
datetime is part of python distribution, there's no need to update paths. Please check your python installation. Can it be a problem with fresh python 2.5?
Offline
this sounds like an issue with your current python install ... datetime module is detected and loaded here without problems ... rankmirros works fien as well ...
The.Revolution.Is.Coming - - To fight, To hunger, To Resist!
Offline
How can I check my python installation further?
As I said, it seems that I have a module in python:
[root@myhost ~]# find / -name datetime*
/usr/include/python2.5/datetime.h
/usr/lib/python2.5/lib-dynload/datetime.so
[root@myhost ~]# rankmirrors
Traceback (most recent call last):
File "/usr/bin/rankmirrors", line 23, in <module>
import os, sys, datetime, time, socket, urllib2
ImportError: No module named datetime
I tried to Google the error message:
python 2.5 "no module named datetime"
and that gave only a few irrelevant answers.
It is not a big problem, as the Belgian mirror works fine for me.
I was just wondering abvout this error message.
Thanks
Offline
Pages: 1