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 · 5684 次点击
    这是一个创建于 3914 天前的主题,其中的信息可能已经有所发展或是发生改变。
    打包指令加了 -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: no 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   ·   实用小工具   ·   1574 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 17:08 · PVG 01:08 · LAX 09:08 · JFK 12:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.