|
发表于 2003-8-19 09:24:06
|
显示全部楼层
有错误
[root@localhost BitTorrent-3.2.1b]# ./setup.py install
running install
Traceback (most recent call last):
File "./setup.py", line 21, in ?
scripts = ["btdownloadgui.py", "btdownloadheadless.py", "btdownloadlibrary.py",
File "/usr/lib/python2.2/distutils/core.py", line 138, in setup
dist.run_commands()
File "/usr/lib/python2.2/distutils/dist.py", line 893, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.2/distutils/dist.py", line 912, in run_command
cmd_obj.ensure_finalized()
File "/usr/lib/python2.2/distutils/cmd.py", line 112, in ensure_finalized
self.finalize_options()
File "/usr/lib/python2.2/distutils/command/install.py", line 273, in finalize_options
(prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix')
File "/usr/lib/python2.2/distutils/sysconfig.py", line 427, in get_config_vars func()
File "/usr/lib/python2.2/distutils/sysconfig.py", line 332, in _init_posix
raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to
open /usr/lib/python2.2/config/Makefile (No such file or directory)
最初由 daha 发表
python要2.1以上版本,rh9已经包含2.2
wxpython要另外装,到rpmfind.net找
然后运行./setup.py build
./setup.py install
记得还要修改/etc目录下的一个文件,具体看帮助文件(unix那个)
另:建议安装BitTorrent experimental3.2.1版本,方法一样,但更好用。 |
|