亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 2059 | 回復(fù): 3
打印 上一主題 下一主題

python bwiget [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2009-05-25 19:14 |只看該作者 |倒序?yàn)g覽
小弟遇到一個(gè)問(wèn)題,我用python和pybwidget遍了一個(gè)程序,然后用py2exe和pyinstaller將它變成exe可執(zhí)行程序,可是打包好卻一直提示缺少bwidget.我想可能是打包程序沒(méi)有將它集成,有什么好的辦法解決么?
之前沒(méi)有加入bwiget程序是可以運(yùn)行的,而且在本機(jī)可以運(yùn)行,放到一個(gè)完全沒(méi)有python環(huán)境的機(jī)器上就提示這樣錯(cuò)誤!
我的環(huán)境:
windowsXP
python 2.5.4
bwidget 0.7

大家?guī)蛶托〉艿馨桑?/td>

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2009-05-26 11:27 |只看該作者
在setup函數(shù)之前import bwidget 試試

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2009-05-27 08:44 |只看該作者
I have kicked out this problem. The main problem comes from a segment of bwidget __init__.py code:  
_datadir = os.path.join(sys.prefix, "share", "pybwidget")

It means the path of bwidget main modules. And it exsits in my d:\python25\ . So I copy this folder into my current exe folder, then everything runs well. By the way I have test it with both py2exe and pyinstaller.

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2009-05-27 09:45 |只看該作者
原帖由 lineba116 于 2009-5-27 08:44 發(fā)表
I have kicked out this problem. The main problem comes from a segment of bwidget __init__.py code:  
_datadir = os.path.join(sys.prefix, "share", "pybwidget")

It means the path of bwidget mai ...

感謝分享
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP