小编mka*_*att的帖子

"C扩展无法编译'错误. - 安装Flask时

我在debian 7上的virtualenv中安装flask时得到以下错误.apt-get-install告诉我我已经有了GCC.我试过,apt-get install libpcre3-dev但后来重新安装烧瓶,pip install 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.
==========================================================================
Run Code Online (Sandbox Code Playgroud)

python flask

22
推荐指数
2
解决办法
1万
查看次数

如果2 ^ 32位= 4亿位而不是字节,32位如何处理4GB?

从本质上讲,4Gb如何变成4GB?如果内存是寻址字节,那么可能性不是2 (32/8)

cpu-architecture addressing memory-address

4
推荐指数
1
解决办法
1542
查看次数