kayzhu / LSHash

A fast Python implementation of locality sensitive hashing.
MIT License
660 stars 158 forks source link

pip install error #11

Open armintabari opened 8 years ago

armintabari commented 8 years ago

I am trying to install this package. when I run pipe install it gives me this error:

pip install lshash==0.0.4dev Collecting lshash==0.0.4dev Using cached lshash-0.0.4dev.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 20, in File "/private/var/folders/3y/98pmr_g51g988x_v957qmh100000gn/T/pip-build-vgvzxrjr/lshash/setup.py", line 3, in import lshash File "/private/var/folders/3y/98pmr_g51g988x_v957qmh100000gn/T/pip-build-vgvzxrjr/lshash/lshash/init.py", line 12, in from lshash import LSHash ImportError: cannot import name 'LSHash'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/3y/98pmr_g51g988x_v957qmh100000gn/T/pip-build-vgvzxrjr/lshash

liyanbei1234 commented 3 years ago

the package "lshash" matches a lower version of python.if you want to use this with a higher version of python. You can try to use the command as following to install this package: "pip install lshash3" I had solved the problem in this way

cheeregofor commented 3 years ago

the package "lshash" matches a lower version of python.if you want to use this with a higher version of python. You can try to use the command as following to install this package: "pip install lshash3" I had solved the problem in this way

which version is your python?