PyXML安装 - memmove在此平台上不存在 [英] PyXML install - memmove does not exist on this platform

查看:543
本文介绍了PyXML安装 - memmove在此平台上不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

$ p $ extension $ expat / lib / xmlparse .c:75:2:error:#error memmove在此平台上不存在,也不是可用的替代





我现在的版本是: gcc(Ubuntu / Linaro 4.7.3-1ubuntu1)4.7。我已经试过重新安装gcc编译器。 3



操作系统:Kubuntu 13.04。

我可以以某种方式重新安装memmove库吗?据我所知,它是与string.h lib交付的。

解决方案

我有同样的问题,也运行kubuntu- 13.04(在12.10中工作正常)。

@volferine似乎成了某事。我的 config_h 文件也是 /usr/include/python2.7/pyconfig.h ,并且它不包含字符串 HAVE_MEMMOVE



pyconfig.h ,I追加:

  #define HAVE_MEMMOVE 1 

PyXML现在似乎为我打造。我在这里提交了一个错误报告: https://bugs.launchpad.net/ubuntu/+ source / python2.7 / + bug / 1238244

Im trying to install pyxml library with pip but i get following errors during installation:

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

I've tried to reinstall gcc compilator .

Current version i've is: gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3

OS: Kubuntu 13.04.

Can i somehow reinstall memmove library? As far as i know, it is delivered with string.h lib.

解决方案

I had the same problem, also running kubuntu-13.04 (worked fine in 12.10.)

@volferine seems to be onto something. My config_h file is also /usr/include/python2.7/pyconfig.h, and it did not contain the string HAVE_MEMMOVE.

To pyconfig.h, I appended:

#define HAVE_MEMMOVE 1

PyXML now appears to build for me. I filed a bug report here: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1238244.

这篇关于PyXML安装 - memmove在此平台上不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆