簡體   English   中英

在Mac OS X Maverick的virtualenv上安裝Fabric

[英]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
  • Xcode版本:Xcode 5.1(5B130a)
  • 命令行工具:Xcode 5.1(commandline_tools_os_x_mavericks_for_xcode__march_2014.dmg)
  • python 2.7.6
  • 點1.5.4

完整的日志: http : //pastebin.com/raw.php?i=NvzGcN0a

在我的系統上pip install fabric可以正常工作,但是當我激活virtualenv並嘗試在其上安裝Fabric時,它沒有效果。

知道我的問題在哪里嗎?

Mac OS 10.9.1上的mysql-python

通過運行修復它:

導出CFLAGS =-帶參數的參數導出CPPFLAGS =-帶參數的參數

在安裝pip ...之前

羅密歐·米哈爾恰(Romeo Mihalcea)回答自己的問題的道具。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM