python编译安装没有c扩展_python – “C扩展无法编译”错误 – 在安装Flask时

我在debian 7上安装了在virtualenv中的jar文件时收到错误。apt-get-install告诉我我已经有GCC了。我尝试apt-get安装libpcre3-dev,然后重新安装烧瓶与pip安装Flask-scss –force-reinstall -I但仍然有相同的错误。如何解决这个问题,以便加快速度?

错误:

markupsafe/_speedups.c:12:20: fatal error: Python.h: No such file or directory

compilation terminated.

==========================================================================

WARNING: The C extension could not be compiled, speedups are not enabled.

Failure information, if any, is above.

Retrying the build without the C extension now.

==========================================================================

WARNING: The C extension could not be compiled, speedups are not enabled.

Plain-Python installation succeeded.

==========================================================================

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值