gpt4 book ai didi

python - PyXML 安装 - 此平台上不存在 memmove

转载 作者:太空狗 更新时间:2023-10-29 17:26:14 24 4
gpt4 key购买 nike

我试图用 pip 安装 pyxml 库,但在安装过程中出现以下错误:

extensions/expat/lib/xmlparse.c:75:2: error: #error memmove does not exist on this platform, nor is a substitute available

我已经尝试重新安装 gcc 编译器。

我当前的版本是:gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3

操作系统:Kubuntu 13.04。

我能以某种方式重新安装 memmove 库吗?据我所知,它是随 string.h 库一起提供的。

最佳答案

我遇到了同样的问题,也在运行 kubuntu-13.04(在 12.10 中运行良好。)

@volferine 似乎有所作为。我的 config_h 文件也是 /usr/include/python2.7/pyconfig.h,它不包含字符串 HAVE_MEMMOVE

对于 pyconfig.h,我附加了:

#define HAVE_MEMMOVE 1

PyXML 现在似乎是为我构建的。我在这里提交了错误报告:https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1238244 .

关于python - PyXML 安装 - 此平台上不存在 memmove,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19181102/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com