[BioPython] KDTreec missing in biopython 1.21

Jeffrey Chang jchang at jeffchang.com
Thu Jul 31 11:58:14 EDT 2003


Hi Jan,

The KDTree module is disabled by default.  It is C++ code, and does not  
compile correctly on many platforms due to a shortcoming in the  
distutils with Python 2.2.  If you need the code, you can enable it by  
following the instructions in the README file.  Thank you for your  
report.

Jeff



On Thursday, July 31, 2003, at 02:53  AM, Jan T. Kim wrote:

> Hi all,
>
> while playing around with a newly installed biopython 1.21, I noticed
> that the KDTree module requires a KDTreec module which does not seem to
> be included in the archive. This is what I get:
>
>>>> import Bio
>>>> import Bio.KDTree
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in ?
>       File  
> "/opt/local/biosoft/lib/python2.2/site-packages/PIL/__init__.py", line  
> 8, in ?
> 	#
>       File  
> "/sdb1/local/biosoft/src/python-extensions/biopython-1.21/build/ 
> lib.linux-i686-2.2/Bio/KDTree/_KDTree.py", line 2, in ?
>     ImportError: No module named _KDTreec
>
> Greetinx, Jan
>
> P.S.: No, I don't use the KDTree module, in fact I don't have much of
> an idea what it is / does. I just tried to find out by running pydoc on
> it, and that failed.
> -- 
>  +- Jan T. Kim -------------------------------------------------------+
>  |    *NEW*    email: kim at inb.uni-luebeck.de                          |
>  |    *NEW*    WWW:   http://www.inb.uni-luebeck.de/staff/kim.html    |
>  *-----=<  hierarchical systems are for files, not for humans  >=-----*
> _______________________________________________
> BioPython mailing list  -  BioPython at biopython.org
> http://biopython.org/mailman/listinfo/biopython



More information about the BioPython mailing list