If you don't have wget installed under your Mac, you'll also need to install wget, see http://www.cnblogs.com/cocowool/archive/2012/06/24/2560574.html
Install the Python library using PIP. Pip is a Python package management tool that installs/manages various libraries (PIP documents) directly from the command line once installed.
$ wget http://pypi.python.org/packages/source/p/pip/pip-0.7.2.tar.gz
$ tar xzf pip-0.7.2.tar.gz
$ CD pip-0.7.2
$ python setup.py Install
Then install Pyspider, the following prompt appears:
yemademacbook-pro:pip-0.7.2 zhaoliang$ pip install pyspider not found
Prompted to download the official command line, and then install command line, but also prompted:
yemademacbook-pro:pip-0.7.2 zhaoliang$ Xcode-select--installxcode"software Update" to install Updates
Official tools are required to download the latest version of Command line, https://developer.apple.com/downloads/index.action?name=for%20Xcode%20
Note that this requires a good Mac version number. Once the installation is complete, the pip install Pyspider will not be a problem. (note here, if the network speed does not appear multiple times the installation is unsuccessful).
Run
It's easy to run, just enter pyspider at the command line and then access http://localhost:5000 when you're done.
Install Python pip, pyspider under Mac