[1.7.5] python2.5 bad installation?
Edward Lam
edward@sidefx.com
Tue Jun 22 13:59:00 GMT 2010
Hi,
I just updated my cygwin installation and it looks like my old python2.5
installation has been corrupted? /usr/python2.6 has all the usual
packages but /usr/lib/python2.5 is missing everything. I have attached
my latest cygcheck -s -v -r output and the corresponding setup.log.full
from my update. A sample run of commands showing the problem follows.
Any ideas?
$ ls /usr/lib/python2.5
lib-dynload/
$ python2.5 -v
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
'import site' failed; traceback:
ImportError: No module named site
Python 2.5.2 (r252:60911, Dec 2 2008, 09:26:14)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import sys
>>> sys.path
['', '/usr/lib/python25.zip', '/usr/lib/python2.5/',
'/usr/lib/python2.5/plat-cygwin', '/usr/lib/python2.5/lib-tk',
'/usr/lib/python2.5/lib-dynload']
>>>
>>> import xml.dom.minidom
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named xml.dom.minidom
>>>
Thanks,
-Edward
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100622/61757135/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: setup.log.full
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100622/61757135/attachment-0001.ksh>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list