clang error: unknown argument: '-mno-fused-madd' (python package installation failure)

后端 未结 14 2458
攒了一身酷
攒了一身酷 2020-11-22 04:43

I get the following error when attempting to install psycopg2 via pip on Mavericks 10.9:

clang: error: unknown argument: \'-mno-fused-madd\' [-W         


        
14条回答
  •  你的背包
    2020-11-22 04:53

    For me, the bad flags were explicitly given in the package's Makefile. So I had to edit the makefile to remove the unrecognized flag from the erroring package.

提交回复
热议问题