简体   繁体   中英

clang error when installing MYSQL-python on Lion-mountain (Mac OS X 10.8)

When I try installing mysql-python using below command,

macbook-user$ sudo pip install MYSQL-python

I get these messages:

/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyconfig.h:891:1: warning: this is the location of the previous definition

/usr/bin/lipo: /tmp/_mysql-LtlmLe.o and /tmp/_mysql-thwkfu.o have the same architectures (i386) and can't be in the same fat output file

clang: error: lipo command failed with exit code 1 (use -v to see invocation)

error: command 'clang' failed with exit status 1

Does anyone know how to solve this problem? Help me please!

At first glance it looks like damaged pip package. Have you tried easy_install instead with the same package?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM