成都网站建设设计

将想法与焦点和您一起共享

pip安装python模块常见错误

1.报错:

创新互联公司基于成都重庆香港及美国等地区分布式IDC机房数据中心构建的电信大带宽,联通大带宽,移动大带宽,多线BGP大带宽租用,是为众多客户提供专业四川移动机房托管报价,主机托管价格性价比高,为金融证券行业服务器托管,ai人工智能服务器托管提供bgp线路100M独享,G口带宽及机柜租用的专业成都idc公司。

c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory

     #include

                     ^

    compilation terminated.

    error: command 'gcc' failed with exit status 1


yum install -y libffi-devel  python-devel

或ubuntu中

 

apt-get install -y libffi-dev python-dev libevent-dev

 

 

2.报错:build/temp.linux-x86_64-3.4/_openssl.c:423:30: fatal error: openssl/opensslv.h: No such file or directory

 

   apt-get install libssl-dev


当前标题:pip安装python模块常见错误
分享URL:http://chengdu.cdxwcx.cn/article/gojsed.html