分页: 2 / 2
Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-21 23:07
由 lilydjwg
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* 错误?
Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-21 23:31
由 rykka
我忘记有个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就不能用了。
找个时间重装系统吧……
Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-22 12:51
由 lilydjwg
你好悲剧啊。
你是不是忘记覆盖 libpython2.7.so.1.0 了?
Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-22 15:00
由 rykka
i'm now landing at archlinux
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
Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-22 15:52
由 rykka
问个问题,archlinux下的字体显示应该怎么设置?
在gnome-tweak-tool里面将hinting设置成slight也不行。
看起来始终有点发虚
Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-22 17:07
由 lilydjwg
rykka 写了:问个问题,archlinux下的字体显示应该怎么设置?
在gnome-tweak-tool里面将hinting设置成slight也不行。
看起来始终有点发虚
我直接用的 ~/.fonts.conf 。
Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-22 17:53
由 rykka
.fonts.conf 那是从哪里来的呢?
我安装了ubuntu fontconfig 但是感觉没什么变化.
Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-22 18:29
由 lilydjwg
rykka 写了:.fonts.conf 那是从哪里来的呢?
我安装了ubuntu fontconfig 但是感觉没什么变化.
自己写的呗。
扩展名 conf 是禁止的
囧。。。
Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-22 18:40
由 rykka
能分享么

Re: :py E448: Could not load library function PyArg_Parse
发表于 : 2011-11-22 18:52
由 lilydjwg
您输入的正文过短