Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install bug while using pip and easy install on Mac OSX 10.9 #224

Closed
timtan opened this issue Mar 18, 2014 · 8 comments
Closed

install bug while using pip and easy install on Mac OSX 10.9 #224

timtan opened this issue Mar 18, 2014 · 8 comments

Comments

@timtan
Copy link

timtan commented Mar 18, 2014

Below is the error message !

$ sudo easy_install watchdog

Searching for watchdog
Reading http://pypi.python.org/simple/watchdog/
Best match: watchdog 0.7.1
Downloading https://pypi.python.org/packages/source/w/watchdog/watchdog-0.7.1.tar.gz#md5=ffec8b4afd1058e76f6c664ade8a0de7
Processing watchdog-0.7.1.tar.gz
Running watchdog-0.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-UAZdio/watchdog-0.7.1/egg-dist-tmp-5qroIO
no previously-included directories found matching 'docs/source/_themes/.git*'
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: Setup script exited with error: command 'cc' failed with exit status 1

@tamland
Copy link
Collaborator

tamland commented Mar 18, 2014

@cvn
Copy link

cvn commented Mar 21, 2014

I had this issue and running

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

before installing fixed the problem. Straight from the SO page. Would this be wise to add to the install script?

@tamland
Copy link
Collaborator

tamland commented Mar 21, 2014

I have no idea, I'm not a osx guy. But people on SO seem to suggest it's an issue with clang affecting all python packages that include c modules.

@chestozo
Copy link

Same problem here but this fix by @cvn does not work for me.

@chestozo
Copy link

Done like suggested in this comment (http://stackoverflow.com/questions/22313407/clang-error-unknown-argument-mno-fused-madd-python-package-installation-fa#comment34219420_22322645) and it worked for me:
sudo -E pip install watchdog

@kennedysgarage
Copy link

@chestozo worked perfect, thanks!

@tamland
Copy link
Collaborator

tamland commented May 29, 2014

From stackoverflow:

UPDATE [2014-05-16]: Apple has fixed this problem with updated system Pythons (2.7, 2.6, and 2.5) in OS X 10.9.3 so the workaround is no longer necessary when using the latest Mavericks and Xcode 5.1+. However, as of now, the workaround is still required for OS X 10.8.x (Mountain Lion, currently 10.8.5) if you are using Xcode 5.1+ there.

@tamland tamland closed this as completed May 29, 2014
@diegoiglesias
Copy link

@chestozo worked for OSX 10.9, thanks.

sudo -E pip install watchdog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants