Problem scenario
You are trying to install python-snappy on Ubuntu (or a Debian distribution of) Linux. You go here and find no obvious dependencies or prerequisites:
https://pypi.python.org/pypi/python-snappy
But when you try to install it, you run “python setup.py build” and get an error like this:
“/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘install_requires’
warnings.warn(msg)
running build
running build_py
package init file ‘__init__.py’ not found (or not a regular file)
package init file ‘__init__.py’ not found (or not a regular file)
running build_ext
building ‘_snappy’ extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time – D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c
…
Continue reading “How Do You Install python-snappy on an Ubuntu/Debian Linux Server?”