Various packages that use PIP Install or Easy_install to install Python appear cc failed with exit status 1

Source: Internet
Author: User
Tags base64

Problems encountered

If you encounter title problems with Pip Install or easy_install to install Python's various package on your Mac, seeing this essay should solve the problem.

Before are directly installed on the VPS using the Python framework and package, did not expect to install the Mac on the time of this trouble, the first thought is to see if anyone on Baidu has the same problem, the result is very disappointed. Although there is no useful answer to this question, only Google can be resorted to.

How to Solve

First you need to install developer Tools, and I forgot about that. Installing Developer Tools is simple, just enter the following commands in terminal .

xcode-select --install

If the following is still an error is the problem of OSX's own mechanism (what is the mechanism I did not look carefully, want to know the Google bar), here just enter two lines of command let it do not understand the things to shut up on the line.

export CFLAGS=-Qunused-argumentsexport CPPFLAGS=-Qunused-arguments

I can't help it if it's not settled yet.

Various packages that use PIP Install or Easy_install to install Python appear cc failed with exit status 1

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.