From: Tony M. <to...@sp...> - 2009-05-03 04:06:45
|
> Anyway, when trying to install from source I get the below > > error: invalid Python installation: unable to > open /usr/lib/python2.6/config/Makefile (No such file or directory) What exactly did you run to get this? 'python setup.py install' or something else? > [chris@localhost pyzor-0.4.0]$ pyzor discover > /usr/lib/python2.6/site-packages/pyzor/__init__.py:11: > DeprecationWarning: the sha module is deprecated; use the hashlib module > instead > import sha > downloading servers from > http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x > [chris@localhost pyzor-0.4.0]$ pyzor ping > /usr/lib/python2.6/site-packages/pyzor/__init__.py:11: > DeprecationWarning: the sha module is deprecated; use the hashlib module > instead > import sha > /usr/lib/python2.6/site-packages/pyzor/__init__.py:429: > DeprecationWarning: object.__init__() takes no parameters > super(ThreadId, self).__init__(i) > public.pyzor.org:24441 (200, 'OK') This is the correct response: (200, 'OK'). The rest are deprecation warnings, because pyzor supports versions of Python much older than 2.6, and Python 2.6 has deprecated quite a lot of older Python features (for the transition to Python 3.0). These aren't errors - depending on how you're using Pyzor, you might be able to just ignore them. If you want to silence them, the Python warnings module will let you customise the warnings that you see. In the version of Pyzor after the upcoming 0.5, I'll make sure that there aren't any warnings with Python 2.6 (and, hopefully, using 3.0 is easy), but this will mean increasing the minimum version as well (to 2.4 or 2.5 probably). I'm hoping to get a 0.6 release out in mid-June. Cheers, Tony |