I download hcluster from http://pypi.python.org/pypi/hcluster , then unzip to a folder , then type "python setup.py install"
. It seems OK for it shows:
Z:\>python setup.py install
running install
running build
running build_py
running build_ext
building '_hierarchy_wrap' extension
error: None
But I try to "import hcluster" , it shows:
In [2]: import hcluster
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-002633efa200> in <module>()
----> 1 import hcluster
D:\Python\lib\site-packages\hcluster\__init__.py in <module>()
----> 1 import hierarchy as _h
2 import distance as _d
3 from hierarchy import *
4 from distance import *
5 from inspect import getmembers
D:\Python\lib\site-packages\hcluster\hierarchy.py in <module>()
196
197 import numpy as np
--> 198 import _hierarchy_wrap, types
199 import hcluster.distance as distance
200
ImportError: No module named _hierarchy_wrap
I am a newbie for building , compiling, installing etc for Python module, can someone show a detail step how to solve this issue ? Thanks
(I am using windows XP & Python 2.6.1 )