:py E448: Could not load library function PyArg_Parse

Vim、Emacs配置和使用
头像
lilydjwg
论坛版主
帖子: 4258
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: :py E448: Could not load library function PyArg_Parse

#16

帖子 lilydjwg » 2011-11-21 23:07

rykka 写了: 用virtualbox的shared folder。
sudo mount -t vboxsf vm_share /mnt/share
提示no such directory。
最后用dropbox同步出来。
你可以用 ssh 传文件的。HTTP 也行。最简单的 netcat 也行。
rykka 写了: 复制了gvim 和 libpython2.7.so

运行gvim提示:no libperl.so 。但是在archlinux下根本找不到libperl.so

覆盖了libpython2.7.so
make clean && make && make install
但是问题依旧。
……
不需要重新 make,也不需要 Arch 的 gvim。覆盖后依然出现相同的 PyArg* 错误?
头像
rykka
帖子: 59
注册时间: 2011-06-24 9:14

Re: :py E448: Could not load library function PyArg_Parse

#17

帖子 rykka » 2011-11-21 23:31

我忘记有个ftp server了。
Dropbox是我为了在虚拟机下编辑文件方便而在之前设置的,所以还好。

只覆盖libpython,不make还是不行。

重新安装ubuntu的官方版本
运行/usr/bin/gvim,显示

代码: 全选

  File "/usr/lib/python2.7/sysconfig.py", line 297, in _get_makefile_filename
    return os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1), "config" + (sys.pydebug and "_d" or ""), "Makefile")
AttributeError: 'module' object has no attribute 'pydebug'


我原来的gvim是在ubuntu11.04下编译的,没有这个问题,但是经常在打开时卡住。
重新编译了不会卡了,但是这个也挺麻烦的,主要gundo/conque什么的有纯python的script就不能用了。


找个时间重装系统吧……
附件
Screenshot at 2011-11-21.png
头像
lilydjwg
论坛版主
帖子: 4258
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: :py E448: Could not load library function PyArg_Parse

#18

帖子 lilydjwg » 2011-11-22 12:51

你好悲剧啊。
你是不是忘记覆盖 libpython2.7.so.1.0 了?
头像
rykka
帖子: 59
注册时间: 2011-06-24 9:14

Re: :py E448: Could not load library function PyArg_Parse

#19

帖子 rykka » 2011-11-22 15:00

i'm now landing at archlinux :em01

i linked libpython2.7.so.1.0 before
with

代码: 全选

ld -shared -lc -o libpython2.7.so libpython2.7.so.1.0
but that doesn't work
头像
rykka
帖子: 59
注册时间: 2011-06-24 9:14

Re: :py E448: Could not load library function PyArg_Parse

#20

帖子 rykka » 2011-11-22 15:52

问个问题,archlinux下的字体显示应该怎么设置?
在gnome-tweak-tool里面将hinting设置成slight也不行。
看起来始终有点发虚
头像
lilydjwg
论坛版主
帖子: 4258
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: :py E448: Could not load library function PyArg_Parse

#21

帖子 lilydjwg » 2011-11-22 17:07

rykka 写了:问个问题,archlinux下的字体显示应该怎么设置?
在gnome-tweak-tool里面将hinting设置成slight也不行。
看起来始终有点发虚
我直接用的 ~/.fonts.conf 。
头像
rykka
帖子: 59
注册时间: 2011-06-24 9:14

Re: :py E448: Could not load library function PyArg_Parse

#22

帖子 rykka » 2011-11-22 17:53

.fonts.conf 那是从哪里来的呢?
我安装了ubuntu fontconfig 但是感觉没什么变化.
头像
lilydjwg
论坛版主
帖子: 4258
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: :py E448: Could not load library function PyArg_Parse

#23

帖子 lilydjwg » 2011-11-22 18:29

rykka 写了:.fonts.conf 那是从哪里来的呢?
我安装了ubuntu fontconfig 但是感觉没什么变化.
自己写的呗。
扩展名 conf 是禁止的
囧。。。
头像
rykka
帖子: 59
注册时间: 2011-06-24 9:14

Re: :py E448: Could not load library function PyArg_Parse

#24

帖子 rykka » 2011-11-22 18:40

能分享么 :em09
头像
lilydjwg
论坛版主
帖子: 4258
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: :py E448: Could not load library function PyArg_Parse

#25

帖子 lilydjwg » 2011-11-22 18:52

您输入的正文过短
附件
.fonts.conf.xz
(600 Bytes) 已下载 67 次
回复