pixelogik / NearPy

Python framework for fast (approximated) nearest neighbour search in large, high-dimensional data sets using different locality-sensitive hashes.
MIT License
759 stars 152 forks source link

ImportError: No module named permutation.hashpermutations #30

Closed toogle closed 9 years ago

toogle commented 9 years ago

I'm trying to get the latest version of NearPy so I'm doing the following:

root@67f7a4cf4faf:/# pip install git+git://github.com/pixelogik/NearPy.git
*** cut ***
root@67f7a4cf4faf:/# pip freeze
NearPy==0.1.2
argparse==1.2.1
bitarray==0.8.1
numpy==1.9.1
redis==2.10.3
scipy==0.14.0
virtualenv==1.11.6
wsgiref==0.1.2

No virtualenv in my case. Everything is fine until I try to use it:

root@67f7a4cf4faf:/# python -c 'import nearpy'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/nearpy/__init__.py", line 20, in <module>
    from nearpy.engine import Engine
  File "/usr/local/lib/python2.7/dist-packages/nearpy/engine.py", line 27, in <module>
    from nearpy.hashes import RandomBinaryProjections
  File "/usr/local/lib/python2.7/dist-packages/nearpy/hashes/__init__.py", line 31, in <module>
    from nearpy.hashes.permutation.hashpermutations import HashPermutations
ImportError: No module named permutation.hashpermutations

I believe this could be related to 90239b7.

pixelogik commented 9 years ago

Will check that soon, thx