有谁用过 Pyinstaller,用一个脚本包含 Pmw,numpy,matplot,tkintertable 的包,然后是一个 TKinter GUI 界面的成一个程序,打包后,一闪而过,是怎么回事?求解脱,烦躁了一天了 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Matrix24
V2EX    Python

有谁用过 Pyinstaller,用一个脚本包含 Pmw,numpy,matplot,tkintertable 的包,然后是一个 TKinter GUI 界面的成一个程序,打包后,一闪而过,是怎么回事?求解脱,烦躁了一天了

  •  
  •   Matrix24 2014-03-07 18:15:57 +08:00 6194 次点击
    这是一个创建于 4242 天前的主题,其中的信息可能已经有所发展或是发生改变。
    打包指令加了 -w -F -P跟上了以上所有包的lib地址,然后总是运行不起来
    3 条回复    1970-01-01 08:00:00 +08:00
    unfurl
        1
    unfurl  
       2014-03-07 21:40:13 +08:00   1
    报错信息是?
    Matrix24
        2
    Matrix24  
    OP
       2014-03-12 18:52:46 +08:00
    @unfurl
    [Warn信息]:

    W: no module named matplotlib.rcParams (top-level import by matplotlib.figure)
    W: no module named glib.Idle (top-level import by gobject)
    W: no module named nt (conditional import by __main__)
    W: no module named numpy.not_equal (top-level import by numpy.numarray.ufuncs)
    W: no module named setuptools.Command (top-level import by setuptools.command.setopt)
    W: no module named numpy.testing.Tester (top-level import by numpy.polynomial)
    W: no module named numpy.compat.formatargspec (top-level import by numpy.ma.core)
    W: no module named glib.Source (top-level import by gobject)
    W: no module named numpy.testing.Tester (top-level import by numpy.random)
    W: no module named msvcrt (conditional import by getpass)
    W: no module named java (conditional import by xml.sax._exceptions)
    W: no module named numpy.core.ravel (top-level import by numpy.linalg.linalg)
    W: no module named numpy.core.atleast_3d (top-level import by numpy.lib.shape_base)
    W: no module named matplotlib.MatplotlibDeprecationWarning (top-level import by matplotlib.legend)
    W: no module named numpy.core.zeros (delayed import by numpy.testing.utils)
    W: no module named numpy.compat.bytes (top-level import by numpy.core.numerictypes)
    W: no module named setuptools.Command (top-level import by setuptools.command.easy_install)
    W: no module named numpy.core.flatnonzero (top-level import by numpy.linalg.linalg)
    W: no module named numpy.tanh (top-level import by numpy.numarray.ufuncs)
    W: no module named PyQt4._qt (top-level import by PyQt4.QtCore)
    W: no module named numpy.sinh (top-level import by numpy.numarray.ufuncs)
    W: n module named glib.SPAWN_LEAVE_DESCRIPTORS_OPEN (top-level import by gobject)
    W: no module named numpy.core.isscalar (delayed import by numpy.testing.utils)
    W: no module named numpy.left_shift (top-level import by numpy.oldnumeric.ufuncs)
    W: no module named Pyrex (delayed, conditional import by numpy.distutils.command.build_src)
    W: no module named matplotlib.backends.pylab_setup (top-level import by matplotlib.pyplot)
    W: no module named numpy.subtract (top-level import by numpy.numarray.ufuncs)
    W: no module named matplotlib.rcParams (top-level import by matplotlib.ticker)
    W: no module named numpy.arcsin (top-level import by numpy.numarray.ufuncs)
    W: no module named numpy.lexsort (top-level import by numpy.numarray.functions)
    W: no module named numpy.core.intc (top-level import by numpy.linalg.linalg)
    W: no module named numpy.ndarray (top-level import by numpy.ma.extras)
    W: no module named numpy.greater_equal (top-level import by numpy.oldnumeric.ufuncs)
    W: no module named numpy.logical_not (top-level import by numpy.oldnumeric.ufuncs)
    W: no module named Carbon (delayed import by plistlib)
    W: no module named matplotlib.rcParams (top-level import by matplotlib.axis)
    W: no module named _winreg (top-level import by distutils.msvccompiler)
    W: no module named numpy.swapaxes (top-level import by numpy.oldnumeric.misc)
    W: no module named numpy.diagonal (top-level import by numpy.numarray.functions)
    W: no module named matplotlib.delaunay.__version__ (delayed, conditional import by matplotlib.mlab)
    W: no module named numpy.arccos (top-level import by numpy.numarray.ufuncs)
    W: no module named numpy.core.hstack (top-level import by numpy.lib.polynomial)
    W: no module named numpy.sinh (top-level import by numpy.oldnumeric.ufuncs)
    W: no module named numpy.core.max (conditional import by numpy)
    W: no module named numpy.distutils.fcompiler.show_fcompilers (delayed import by numpy.distutils.interactive)
    W: no module named numpy.core.concatenate (top-level import by numpy.fft.helper)
    W: no module named numpy.arcsinh (top-level import by numpy.numarray.ufuncs)
    W: no module named numpy.linalg.lstsq (top-level import by numpy.lib.polynomial)
    W: no module named numpy.greater (top-level import by numpy.oldnumeric.ufuncs)
    W: no module named numpy.core.atleast_2d (top-level import by numpy.lib.function_base)
    W: no module named vms_lib (delayed, conditional import by platform)
    W: no module named glib.set_application_name (top-level import by gobject)
    W: no module named numpy.floor_divide (top-level import by numpy.numarray.ufuncs)
    W: no module named numpy.testing.Tester (conditional import by numpy.distutils)
    W: no module named numpy.less (top-level import by numpy.oldnumeric.ufuncs)
    W: no module named matplotlib.rcParamsDefault (top-level import by matplotlib.pyplot)
    W: no module named numpy_distutils (delayed, conditional import by numpy.f2py.diagnose)
    W: no module named glib.MainContext (top-level import by gobject)
    W: no module named numpy.ndarray (top-level import by numpy.ma.mrecords)
    W: no module named matplotlib.rcParams (top-level import by matplotlib.text)
    W: no module named numpy.eye (delayed import by numpy.core.numeric)
    W: no module named numpy.searchsorted (top-level import by numpy.numarray.functions)
    W: no module named numpy.core.
    maoyusu
        3
    maoyusu  
       2014-03-21 11:31:21 +08:00
    用WinPython试一试
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2322 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 24ms UTC 15:49 PVG 23:49 LAX 08:49 JFK 11:49
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86