pybloomfiltermmap
pybloomfiltermmap copied to clipboard
sudo pip install not working on mac
when enter the command sudo pip install pybloomfiltermmap, it installs and generates warnings:
2 warnings generated.
g++ -bundle -undefined dynamic_lookup -L/Users/danshiff/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/src/mmapbitarray.o build/temp.macosx-10.5-x86_64-2.7/src/bloomfilter.o build/temp.macosx-10.5-x86_64-2.7/src/md5.o build/temp.macosx-10.5-x86_64-2.7/src/primetester.o build/temp.macosx-10.5-x86_64-2.7/src/MurmurHash3.o build/temp.macosx-10.5-x86_64-2.7/src/pybloomfilter.o -L/Users/danshiff/anaconda/lib -lcrypto -o build/lib.macosx-10.5-x86_64-2.7/pybloomfilter.so
The site-packages directory contains pybloomfilter.so and pybloomfiltermmap-0.3.14-py2.7.egg-info, but no pybloomfiltermmap on its own.
The package is called pybloomfiltermmap
but the module is called pybloomfilter
Use:
import pybloomfilter
Yes, very confusing, especially given there also exists a pybloomfilter
package (different from pybloomfiltermmap
).
Renaming to pybloomfiltermmap
for consistency seems sensible, depending on how important is backward compatibility.