pip install -r requirement.txt
명령을 사용할 때 새로운 virtualenv 디렉토리에 일부 요구 사항 lib를 설치하려고합니다. 나는이 오류가있어 :이 instruction .Another 정보에 의해 설치된 brew
및 파이썬 환경을 설치 한virtualenv 설치에서 만나는 비정상적인 오류
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 (from -r requirement.txt (line 19))
Installing collected packages: greenlet, grequests, killproc, kombu, mccabe, pep8, psutil, pyflakes, pytz, redis, requests
Running setup.py install for greenlet
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -fno-tree-dominator-opts -arch x86_64 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/simple.c -o /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/simple.o
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
clang: error: unknown argument: '-fno-tree-dominator-opts' [-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
building 'greenlet' extension
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c greenlet.c -o build/temp.macosx-10.9-intel-2.7/greenlet.o
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: command 'cc' failed with exit status 1
Complete output from command /Users/penkzhou/.virtualenvs/JOB_ENV/bin/python -c "import setuptools, tokenize;__file__='/Users/penkzhou/.virtualenvs/JOB_ENV/build/greenlet/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/pip-FNK0mO-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/penkzhou/.virtualenvs/JOB_ENV/include/site/python2.7:
running install
running build
running build_ext
creating /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/var
creating /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/var/folders
creating /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/var/folders/5h
creating /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn
creating /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T
creating /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -fno-tree-dominator-opts -arch x86_64 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/simple.c -o /var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/var/folders/5h/63q1xmj961b7hv9y0ntdt7gc0000gn/T/tmpXfAIrt/simple.o
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
clang: error: unknown argument: '-fno-tree-dominator-opts' [-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
building 'greenlet' extension
creating build
creating build/temp.macosx-10.9-intel-2.7
cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c greenlet.c -o build/temp.macosx-10.9-intel-2.7/greenlet.o
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: command 'cc' failed with exit status 1
것은 내가 늙은 맥 account.Then I에 맥의 기원 파이썬 환경과 일부 파이썬 lib 디렉토리를 설치해야한다는 것입니다 처음부터 시작하고 새 Mac 계정으로 전환하고 싶습니다. 그런 다음 virtualenv 환경에 lib를 설치할 때 위의 오류가 발생합니다. 나는 구글 -mno-fused-madd
을 얻었지만 아무 것도 얻지 못했다. 감사.