sopcast-player出现RuntimeError: Bad magic number in .pyc file
- Xusually
- 帖子: 242
- 注册时间: 2006-11-03 21:20
- 来自: 上海
- 联系:
sopcast-player出现RuntimeError: Bad magic number in .pyc file
按照wiki做的,装完了,可是启动的时候命令行提示RuntimeError: Bad magic number in .pyc file
初步认定是python版本的问题,作者用的可能是2.5,我的9.04用的是2.6
修改/usr/bin/sopcast-player
把
/usr/bin/python /usr/share/sopcast-player/lib/sopcast-player.pyc $@
改成
/usr/bin/python2.5 /usr/share/sopcast-player/lib/sopcast-player.pyc $@
没用的,改成python2.6也没有用。我的usr/bin/下面只有python2.6
昨晚上去官网去提交issue了,希望可以早点解决
得出结论了,没事千万别乱升级python。。。后患无穷
初步认定是python版本的问题,作者用的可能是2.5,我的9.04用的是2.6
修改/usr/bin/sopcast-player
把
/usr/bin/python /usr/share/sopcast-player/lib/sopcast-player.pyc $@
改成
/usr/bin/python2.5 /usr/share/sopcast-player/lib/sopcast-player.pyc $@
没用的,改成python2.6也没有用。我的usr/bin/下面只有python2.6
昨晚上去官网去提交issue了,希望可以早点解决
得出结论了,没事千万别乱升级python。。。后患无穷
Never had a dream come ture!
============================
Lenovo E42LT2390
CPU:T2390
RAM:1G DDRII 667*2
VGA:X3100
HD:Seagate 160G SataII
CD:Combo
Wireless:Intell 3945abg
============================
Lenovo E42LT2390
CPU:T2390
RAM:1G DDRII 667*2
VGA:X3100
HD:Seagate 160G SataII
CD:Combo
Wireless:Intell 3945abg
- Xusually
- 帖子: 242
- 注册时间: 2006-11-03 21:20
- 来自: 上海
- 联系:
Re: sopcast-player出现RuntimeError: Bad magic number in .pyc file
不知道下载源码自己编译安装会不会解决python版本依赖的问题。还没来得及实验,在看火箭Vs湖人。
Never had a dream come ture!
============================
Lenovo E42LT2390
CPU:T2390
RAM:1G DDRII 667*2
VGA:X3100
HD:Seagate 160G SataII
CD:Combo
Wireless:Intell 3945abg
============================
Lenovo E42LT2390
CPU:T2390
RAM:1G DDRII 667*2
VGA:X3100
HD:Seagate 160G SataII
CD:Combo
Wireless:Intell 3945abg
- Xusually
- 帖子: 242
- 注册时间: 2006-11-03 21:20
- 来自: 上海
- 联系:
Re: sopcast-player出现RuntimeError: Bad magic number in .pyc file
放弃了,不搞了,python的问题太难办
重装了8.10,python版本2。5
装好直接就可以看了
重装了8.10,python版本2。5
装好直接就可以看了
Never had a dream come ture!
============================
Lenovo E42LT2390
CPU:T2390
RAM:1G DDRII 667*2
VGA:X3100
HD:Seagate 160G SataII
CD:Combo
Wireless:Intell 3945abg
============================
Lenovo E42LT2390
CPU:T2390
RAM:1G DDRII 667*2
VGA:X3100
HD:Seagate 160G SataII
CD:Combo
Wireless:Intell 3945abg
-
- 帖子: 5
- 注册时间: 2008-09-20 14:25
Re: sopcast-player出现RuntimeError: Bad magic number in .pyc file
代码: 全选
sudo apt-get install python2.5
-
- 帖子: 40
- 注册时间: 2008-10-30 10:47
Re: sopcast-player出现RuntimeError: Bad magic number in .pyc file
代码: 全选
sudo apt-get install python2.5
/usr/bin/python2.5 /usr/share/sopcast-player/lib/sopcast-player.py $@
- istartagain
- 帖子: 1394
- 注册时间: 2009-05-27 21:55
Re: sopcast-player出现RuntimeError: Bad magic number in .pyc file
我正在sudo apt-get install python2.5 14k/s
谁给个源
谁给个源
了
- istartagain
- 帖子: 1394
- 注册时间: 2009-05-27 21:55
Re: sopcast-player出现RuntimeError: Bad magic number in .pyc file
sudo apt-get install python2.5是不行的
了
- istartagain
- 帖子: 1394
- 注册时间: 2009-05-27 21:55
Re: sopcast-player出现RuntimeError: Bad magic number in .pyc file
sudo apt-get install python2.5
/usr/bin/python2.5 /usr/share/sopcast-player/lib/sopcast-player.py $@
ok ok ok
/usr/bin/python2.5 /usr/share/sopcast-player/lib/sopcast-player.py $@
ok ok ok
了
- istartagain
- 帖子: 1394
- 注册时间: 2009-05-27 21:55
Re: sopcast-player出现RuntimeError: Bad magic number in .pyc file
Inbound Port: 3616
Outbound Port: 32595
段错误
3分钟后
Outbound Port: 32595
段错误
3分钟后
了
-
- 帖子: 152
- 注册时间: 2006-08-16 22:19
- 来自: 湖北武汉
- 联系:
Re: sopcast-player出现RuntimeError: Bad magic number in .pyc file
安装一下python.25,把/usr/bin/sopcast-player中的/usr/bin/python改成/usr/bin/python2.5不就好了,我就是这么改的,好了
笔记本: Acer 3810T
OS : Ubuntu9.04
CPU:SU3500
RAM:DDR3 1G
硬盘:250G
显卡:GMA4500
显示器:13寸LED
OS : Ubuntu9.04
CPU:SU3500
RAM:DDR3 1G
硬盘:250G
显卡:GMA4500
显示器:13寸LED