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

后端 未结 14 2522
攒了一身酷
攒了一身酷 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:51

    Amazon Linux [AWS EC2]

    Trying to pip install paramiko on Amazon Linux AMI release 2016.09 gave me an error that included a link to this SO post. So, even though it doesn't fit the OP's Title, I'm going to share the answer.

    yum install libffi-devel
    yum install gcc
    yum install openssl-devel
    pip install paramiko
    

    Golden!

提交回复
热议问题