Install Python pip, pyspider under Mac

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.