[英]install Fabric on virtualenv on mac os x Maverick
我嘗試使用命令pip install fabric
在macOS x Maverick上的virtualenv上的Fabric上pip install fabric
我的Mac構建pycrypto時出現錯誤:
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
完整的日志: http : //pastebin.com/raw.php?i=NvzGcN0a
在我的系統上pip install fabric
可以正常工作,但是當我激活virtualenv並嘗試在其上安裝Fabric時,它沒有效果。
知道我的問題在哪里嗎?
通過運行修復它:
導出CFLAGS =-帶參數的參數導出CPPFLAGS =-帶參數的參數
在安裝pip ...之前
羅密歐·米哈爾恰(Romeo Mihalcea)回答自己的問題的道具。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.