$ python -m RangeHTTPServer
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/site-packages/RangeHTTPServer/__main__.py", line 24, in <module>
SimpleHTTPServer.test(HandlerClass=RangeRequestHandler)
AttributeError: 'module' object has no attribute 'test'
pip install --upgrade --force-reinstall RangeHTTPServer
Collecting RangeHTTPServer
Using cached rangehttpserver-1.2.0-py2.py3-none-any.whl
Installing collected packages: RangeHTTPServer
Found existing installation: rangehttpserver 1.2.0
Uninstalling rangehttpserver-1.2.0:
Successfully uninstalled rangehttpserver-1.2.0
Successfully installed RangeHTTPServer-1.2.0