使用pyinstaller打包后程序无法运行,帮忙诊断,谢谢 [问题点数:100分,结帖人eXeSP]

一键查看最优答案

确认一键查看最优答案?
本功能为VIP专享,开通VIP获取答案速率将提升10倍哦!
Bbs1
本版专家分:0
结帖率 87.5%
Bbs7
本版专家分:27583
Blank
红花 2014年2月 其他开发语言大版内专家分月排行榜第一
2013年6月 其他开发语言大版内专家分月排行榜第一
2013年5月 其他开发语言大版内专家分月排行榜第一
2013年4月 其他开发语言大版内专家分月排行榜第一
2012年3月 其他开发语言大版内专家分月排行榜第一
Blank
黄花 2014年8月 其他开发语言大版内专家分月排行榜第二
2014年7月 其他开发语言大版内专家分月排行榜第二
2014年5月 其他开发语言大版内专家分月排行榜第二
2014年4月 其他开发语言大版内专家分月排行榜第二
2014年3月 其他开发语言大版内专家分月排行榜第二
2014年1月 其他开发语言大版内专家分月排行榜第二
2013年12月 其他开发语言大版内专家分月排行榜第二
2013年11月 其他开发语言大版内专家分月排行榜第二
2013年3月 其他开发语言大版内专家分月排行榜第二
2012年5月 其他开发语言大版内专家分月排行榜第二
2012年4月 其他开发语言大版内专家分月排行榜第二
2010年10月 其他开发语言大版内专家分月排行榜第二
2010年9月 其他开发语言大版内专家分月排行榜第二
Blank
蓝花 2013年9月 其他开发语言大版内专家分月排行榜第三
2012年6月 其他开发语言大版内专家分月排行榜第三
Bbs2
本版专家分:127
Bbs1
本版专家分:0
Bbs4
本版专家分:1927
PyQT5 pyinstaller 打包后的exe执行文件打开提示错误,报错处理
<em>使用</em>Pyqt5编写了一段GUI,在pycharm中可以正常<em>运行</em>出现GUI界面,但是<em>使用</em><em>pyinstaller</em>命令<em>打包</em>后出现错误; <em>使用</em>的<em>pyinstaller</em>命令如下: <em>pyinstaller</em> -F -w xxxx.py 报错一: 执行生成的文件,报错如下: &quot;This application failed to start because no Qt platform plugin ...
pyinstaller打包处理的程序用不了
warn-xxx.txt文件的信息如下,求大佬处理 This file lists modules PyInstaller was not able to find. This does not necessarily mean this module is required for running you program. Python and Python 3rd-party packages include a lot of conditional or optional module. For example the module 'ntpath' only exists on Windows, whereas the module 'posixpath' only exists on Posix systems. Types if import: * top-level: imported at the top-level - look at these first * conditional: imported within an if-statement * delayed: imported from within a function * optional: imported within a try-except-statement IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for yourself tracking down the missing module. Thanks! missing module named pyimod03_importers - imported by PyInstaller.loader.pyimod02_archive (delayed, conditional), c:\program files\python37\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py (top-level) missing module named 'pkg_resources.extern.pyparsing' - imported by pkg_resources._vendor.packaging.requirements (top-level), pkg_resources._vendor.packaging.markers (top-level) missing module named 'com.sun' - imported by pkg_resources._vendor.appdirs (delayed, conditional, optional) missing module named com - imported by pkg_resources._vendor.appdirs (delayed) missing module named win32api - imported by distutils.msvccompiler (optional), pkg_resources._vendor.appdirs (delayed, conditional, optional) missing module named win32com.shell - imported by pkg_resources._vendor.appdirs (delayed, conditional, optional) missing module named _uuid - imported by uuid (optional) missing module named netbios - imported by uuid (delayed) missing module named win32wnet - imported by uuid (delayed) missing module named __builtin__ - imported by numpy.core.numerictypes (conditional), numpy.core.numeric (conditional), numpy.lib.function_base (conditional), numpy.lib._iotools (conditional), numpy.ma.core (conditional), numpy.distutils.misc_util (delayed, conditional), numpy (conditional), pymysql._compat (conditional), pkg_resources._vendor.pyparsing (conditional), setuptools._vendor.pyparsing (conditional) missing module named ordereddict - imported by pkg_resources._vendor.pyparsing (optional), setuptools._vendor.pyparsing (optional) missing module named StringIO - imported by PyInstaller.lib.modulegraph._compat (conditional), PyInstaller.lib.modulegraph.zipio (conditional), setuptools._vendor.six (conditional), numpy.lib.utils (delayed, conditional), numpy.lib.format (delayed, conditional), numpy.testing._private.utils (conditional), six (conditional), urllib3.packages.six (conditional), requests.compat (conditional), selenium.webdriver.remote.webelement (optional), pkg_resources._vendor.six (conditional) missing module named _scproxy - imported by urllib.request (conditional) missing module named 'macholib.MachO' - imported by PyInstaller.depend.dylib (delayed), PyInstaller.depend.bindepend (delayed), PyInstaller.utils.osx (top-level) missing module named macholib - imported by PyInstaller.depend.dylib (delayed, conditional) missing module named _pkgutil - imported by PyInstaller.lib.modulegraph.modulegraph (delayed, optional) missing module named dis3 - imported by PyInstaller.lib.modulegraph._compat (conditional) missing module named urllib.pathname2url - imported by urllib (conditional), PyInstaller.lib.modulegraph._compat (conditional) missing module named pyimod00_crypto_key - imported by PyInstaller.loader.pyimod02_archive (delayed, optional) missing module named thread - imported by numpy.core.arrayprint (conditional, optional), PyInstaller.loader.pyimod02_archive (conditional) missing module named 'macholib.dyld' - imported by PyInstaller.depend.bindepend (delayed) missing module named 'macholib.mach_o' - imported by PyInstaller.depend.bindepend (delayed) missing module named Crypto - imported by PyInstaller.building.makespec (delayed, conditional, optional) missing module named win32ctypes.core._time - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level) missing module named win32ctypes.core._system_information - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level) missing module named win32ctypes.core._resource - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level) missing module named win32ctypes.core._dll - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level) missing module named win32ctypes.core._common - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32api (top-level), win32ctypes.pywin32.win32cred (top-level) missing module named win32ctypes.core._authentication - imported by win32ctypes.core (top-level), win32ctypes.pywin32.win32cred (top-level) missing module named cffi - imported by win32ctypes.core (optional) missing module named UserDict - imported by PyInstaller.compat (conditional), pytz.lazy (optional) missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level) missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level) missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level) missing module named multiprocessing.get_context - imported by multiprocessing (top-level), multiprocessing.pool (top-level), multiprocessing.managers (top-level), multiprocessing.sharedctypes (top-level) missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level) missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level) missing module named pkg_resources.extern.packaging - imported by pkg_resources.extern (top-level), pkg_resources (top-level) missing module named pkg_resources.extern.appdirs - imported by pkg_resources.extern (top-level), pkg_resources (top-level) missing module named 'pkg_resources.extern.six.moves' - imported by pkg_resources (top-level), pkg_resources._vendor.packaging.requirements (top-level) missing module named pkg_resources.extern.six - imported by pkg_resources.extern (top-level), pkg_resources (top-level) missing module named 'multiprocessing.forking' - imported by c:\program files\python37\lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py (optional) missing module named resource - imported by posix (top-level), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named posix - imported by os (conditional, optional), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named _posixsubprocess - imported by subprocess (conditional), multiprocessing.util (delayed), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional), E:\yxrj\dingzhi\cj\231.py (top-level) excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), PyInstaller.loader.pyimod02_archive (delayed, conditional), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named _winreg - imported by platform (delayed, optional), numpy.distutils.cpuinfo (delayed, conditional, optional), requests.utils (delayed, conditional, optional), selenium.webdriver.firefox.firefox_binary (delayed, optional), E:\yxrj\dingzhi\cj\231.py (top-level), pkg_resources._vendor.appdirs (delayed) missing module named java - imported by platform (delayed), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named 'java.lang' - imported by platform (delayed, optional), xml.sax._exceptions (conditional), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named vms_lib - imported by platform (delayed, conditional, optional), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named termios - imported by tty (top-level), getpass (optional), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named urllib.getproxies_environment - imported by urllib (conditional), requests.compat (conditional) missing module named urllib.proxy_bypass_environment - imported by urllib (conditional), requests.compat (conditional) missing module named urllib.proxy_bypass - imported by urllib (conditional), requests.compat (conditional) missing module named urllib.getproxies - imported by urllib (conditional), requests.compat (conditional) missing module named urllib.unquote_plus - imported by urllib (conditional), requests.compat (conditional) missing module named urllib.quote_plus - imported by urllib (conditional), requests.compat (conditional) missing module named urllib.unquote - imported by urllib (conditional), requests.compat (conditional) missing module named urllib.urlencode - imported by urllib (optional), urllib3.packages.rfc3986.compat (optional), requests.compat (conditional) missing module named urllib.quote - imported by urllib (optional), urllib3.packages.rfc3986.compat (optional), requests.compat (conditional) missing module named grp - imported by shutil (optional), tarfile (optional), pathlib (delayed), distutils.archive_util (optional), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named 'org.python' - imported by pickle (optional), xml.sax (delayed, conditional), setuptools.sandbox (conditional), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named org - imported by copy (optional), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), http.server (delayed, optional), webbrowser (delayed), pathlib (delayed, conditional, optional), distutils.util (delayed, conditional), distutils.archive_util (optional), netrc (delayed, conditional), getpass (delayed), E:\yxrj\dingzhi\cj\231.py (top-level) missing module named urllib2 - imported by numpy.lib._datasource (delayed, conditional), requests.compat (conditional), selenium.webdriver.common.utils (delayed, optional), selenium.webdriver.common.service (delayed, optional) missing module named urlparse - imported by numpy.lib._datasource (delayed, conditional), requests.compat (conditional), selenium.webdriver.remote.remote_connection (optional) runtime module named urllib3.packages.six.moves - imported by http.client (top-level), urllib3.connectionpool (top-level), urllib3.util.response (top-level), 'urllib3.packages.six.moves.urllib' (top-level), urllib3.response (top-level), urllib3.util.queue (top-level) missing module named 'OpenSSL.crypto' - imported by urllib3.contrib.pyopenssl (delayed) missing module named 'cryptography.x509' - imported by urllib3.contrib.pyopenssl (delayed, optional) missing module named 'cryptography.hazmat' - imported by pymysql._auth (optional), urllib3.contrib.pyopenssl (top-level) missing module named cryptography - imported by pymysql._auth (optional), urllib3.contrib.pyopenssl (top-level), requests (optional) missing module named OpenSSL - imported by urllib3.contrib.pyopenssl (top-level) missing module named 'backports.ssl_match_hostname' - imported by setuptools.ssl_support (optional), urllib3.packages.ssl_match_hostname (optional) missing module named brotli - imported by urllib3.util.request (optional), urllib3.response (optional) missing module named "'urllib3.packages.six.moves.urllib'.parse" - imported by urllib3.request (top-level), urllib3.poolmanager (top-level) missing module named Queue - imported by urllib3.util.queue (conditional) missing module named httplib - imported by selenium.webdriver.safari.webdriver (optional), selenium.webdriver.blackberry.webdriver (optional), selenium.webdriver.webkitgtk.webdriver (optional) missing module named cStringIO - imported by selenium.webdriver.firefox.firefox_profile (optional) missing module named copy_reg - imported by numpy.core (conditional), soupsieve.util (conditional), cStringIO (top-level) missing module named 'backports.functools_lru_cache' - imported by soupsieve.util (conditional) missing module named iconv_codec - imported by bs4.dammit (optional) missing module named cchardet - imported by bs4.dammit (optional) missing module named lxml - imported by bs4.builder._lxml (top-level) missing module named 'html5lib.treebuilders' - imported by bs4.builder._html5lib (optional) missing module named 'html5lib.constants' - imported by bs4.builder._html5lib (top-level) missing module named html5lib - imported by bs4.builder._html5lib (top-level) missing module named Cookie - imported by requests.compat (conditional) missing module named cookielib - imported by requests.compat (conditional) missing module named simplejson - imported by pandas.util._print_versions (delayed, conditional, optional), requests.compat (optional) missing module named socks - imported by urllib3.contrib.socks (optional) missing module named _dummy_threading - imported by dummy_threading (optional) missing module named ConfigParser - imported by numpy.distutils.system_info (conditional), numpy.distutils.npy_pkg_config (conditional), pymysql.optionfile (conditional) missing module named scipy - imported by numpy.testing._private.nosetester (delayed, conditional), pandas.core.missing (delayed) missing module named numexpr - imported by pandas.core.computation.expressions (conditional), pandas.core.computation.engines (delayed) missing module named 'scipy.stats' - imported by pandas.plotting._matplotlib.hist (delayed), pandas.plotting._matplotlib.misc (delayed, conditional), pandas.core.nanops (delayed, conditional) missing module named 'scipy.signal' - imported by pandas.core.window (delayed, conditional) missing module named commands - imported by numpy.distutils.cpuinfo (conditional) missing module named setuptools.extern.packaging - imported by setuptools.extern (top-level), setuptools.dist (top-level), setuptools.command.egg_info (top-level) missing module named 'setuptools.extern.six' - imported by setuptools (top-level), setuptools.extension (top-level) missing module named setuptools.extern.six.moves.filterfalse - imported by setuptools.extern.six.moves (top-level), setuptools.dist (top-level), setuptools.msvc (top-level) missing module named setuptools.extern.six.moves.filter - imported by setuptools.extern.six.moves (top-level), setuptools.dist (top-level), setuptools.ssl_support (top-level), setuptools.command.py36compat (top-level) missing module named _manylinux - imported by setuptools.pep425tags (delayed, optional) missing module named wincertstore - imported by setuptools.ssl_support (delayed, optional) missing module named backports - imported by setuptools.ssl_support (optional) missing module named 'setuptools._vendor.six.moves' - imported by 'setuptools._vendor.six.moves' (top-level) missing module named 'setuptools.extern.pyparsing' - imported by setuptools._vendor.packaging.requirements (top-level), setuptools._vendor.packaging.markers (top-level) missing module named 'setuptools.extern.packaging.version' - imported by setuptools.msvc (top-level) missing module named setuptools.extern.six.moves.map - imported by setuptools.extern.six.moves (top-level), setuptools.dist (top-level), setuptools.command.easy_install (top-level), setuptools.sandbox (top-level), setuptools.package_index (top-level), setuptools.ssl_support (top-level), setuptools.command.egg_info (top-level), setuptools.namespaces (top-level) runtime module named setuptools.extern.six.moves - imported by setuptools.dist (top-level), setuptools.py33compat (top-level), setuptools.command.easy_install (top-level), setuptools.sandbox (top-level), setuptools.command.setopt (top-level), setuptools.package_index (top-level), setuptools.ssl_support (top-level), setuptools.command.egg_info (top-level), setuptools.command.py36compat (top-level), setuptools.namespaces (top-level), setuptools.msvc (top-level), 'setuptools._vendor.six.moves' (top-level) missing module named setuptools.extern.six - imported by setuptools.extern (top-level), setuptools.monkey (top-level), setuptools.dist (top-level), setuptools.extern.six.moves (top-level), setuptools.py33compat (top-level), setuptools.config (top-level), setuptools.command.easy_install (top-level), setuptools.sandbox (top-level), setuptools.py27compat (top-level), setuptools.package_index (top-level), setuptools.wheel (top-level), setuptools.command.egg_info (top-level), setuptools.command.sdist (top-level), setuptools.command.bdist_egg (top-level), setuptools.unicode_utils (top-level), setuptools.glob (top-level), setuptools.command.develop (top-level) missing module named 'numpy_distutils.cpuinfo' - imported by numpy.f2py.diagnose (delayed, conditional, optional) missing module named 'numpy_distutils.fcompiler' - imported by numpy.f2py.diagnose (delayed, conditional, optional) missing module named 'numpy_distutils.command' - imported by numpy.f2py.diagnose (delayed, conditional, optional) missing module named numpy_distutils - imported by numpy.f2py.diagnose (delayed, optional) missing module named 'nose.plugins' - imported by numpy.testing._private.noseclasses (top-level), numpy.testing._private.nosetester (delayed) missing module named numpy.core.number - imported by numpy.core (delayed), numpy.testing._private.utils (delayed) missing module named numpy.core.signbit - imported by numpy.core (delayed), numpy.testing._private.utils (delayed) missing module named numpy.core.float64 - imported by numpy.core (delayed), numpy.testing._private.utils (delayed) missing module named numpy.core.integer - imported by numpy.core (top-level), numpy.fft.helper (top-level) missing module named numpy.core.conjugate - imported by numpy.core (top-level), numpy.fft.pocketfft (top-level) missing module named numpy.core.sign - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.divide - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.object_ - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.geterrobj - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.sqrt - imported by numpy.core (top-level), numpy.linalg.linalg (top-level), numpy.fft.pocketfft (top-level) missing module named numpy.core.add - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.complexfloating - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.inexact - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.cdouble - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.csingle - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.double - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.single - imported by numpy.core (top-level), numpy.linalg.linalg (top-level) missing module named numpy.core.float32 - imported by numpy.core (top-level), numpy.testing._private.utils (top-level) missing module named numpy.core.intp - imported by numpy.core (top-level), numpy.testing._private.utils (top-level), numpy.linalg.linalg (top-level) missing module named numpy.eye - imported by numpy (delayed), numpy.core.numeric (delayed) missing module named dummy_thread - imported by numpy.core.arrayprint (conditional, optional) missing module named 'nose.util' - imported by numpy.testing._private.noseclasses (top-level) missing module named nose - imported by numpy.testing._private.utils (delayed, optional), numpy.testing._private.decorators (delayed), numpy.testing._private.noseclasses (top-level) missing module named win32pdh - imported by numpy.testing._private.utils (delayed, conditional) missing module named __svn_version__ - imported by numpy.f2py.__version__ (optional) missing module named numarray - imported by numpy.distutils.system_info (delayed, conditional, optional) missing module named Numeric - imported by numpy.distutils.system_info (delayed, conditional, optional) missing module named win32con - imported by distutils.msvccompiler (optional) missing module named _curses - imported by curses (top-level), curses.has_key (top-level) missing module named pytest - imported by numpy._pytesttester (delayed), pandas.util._tester (delayed, optional), pandas.util.testing (delayed, conditional, optional) missing module named future_builtins - imported by numpy.lib.npyio (conditional) missing module named cpickle - imported by numpy.compat.py3k (conditional) missing module named pickle5 - imported by numpy.compat.py3k (conditional, optional) missing module named numpy.histogramdd - imported by numpy (delayed), numpy.lib.twodim_base (delayed) missing module named numpy.lib.i0 - imported by numpy.lib (top-level), numpy.dual (top-level) missing module named 'scipy.sparse' - imported by pandas.core.sparse.scipy_sparse (delayed), pandas.core.arrays.sparse (delayed), pandas.core.dtypes.common (delayed, conditional, optional) missing module named botocore - imported by pandas.io.s3 (delayed) missing module named 'pyarrow.parquet' - imported by pandas.io.parquet (delayed) missing module named pyarrow - imported by pandas.io.feather_format (delayed) missing module named contextmanager - imported by dateutil.tz.tz (optional) runtime module named six.moves - imported by dateutil.tz.tz (top-level), dateutil.tz.win (top-level), dateutil.rrule (top-level) missing module named six.moves.range - imported by six.moves (top-level), dateutil.rrule (top-level) missing module named dateutil.tz.tzfile - imported by dateutil.tz (top-level), dateutil.zoneinfo (top-level) missing module named dateutil.tz.tzlocal - imported by dateutil.tz (top-level), dateutil.rrule (top-level) missing module named dateutil.tz.tzutc - imported by dateutil.tz (top-level), dateutil.rrule (top-level) missing module named PyQt4 - imported by pandas.io.clipboard.clipboards (delayed, optional), pandas.io.clipboard (delayed, conditional, optional) missing module named PyQt5 - imported by pandas.io.clipboard.clipboards (delayed, optional), pandas.io.clipboard (delayed, conditional, optional) missing module named qtpy - imported by pandas.io.clipboard.clipboards (delayed, optional), pandas.io.clipboard (delayed, conditional, optional) missing module named 'sqlalchemy.types' - imported by pandas.io.sql (delayed, conditional) missing module named 'sqlalchemy.schema' - imported by pandas.io.sql (delayed, conditional) missing module named sqlalchemy - imported by pandas.io.sql (delayed, conditional, optional) missing module named tables - imported by pandas.io.pytables (delayed, conditional) missing module named xlwt - imported by pandas.io.excel._xlwt (delayed) missing module named xlsxwriter - imported by pandas.io.excel._xlsxwriter (delayed) missing module named 'openpyxl.styles' - imported by pandas.io.excel._openpyxl (delayed) missing module named 'openpyxl.style' - imported by pandas.io.excel._openpyxl (delayed) missing module named openpyxl - imported by pandas.io.excel._openpyxl (delayed, conditional) missing module named xlrd - imported by pandas.io.excel._xlrd (delayed) missing module named 'odf.namespaces' - imported by pandas.io.excel._odfreader (delayed) missing module named 'odf.table' - imported by pandas.io.excel._odfreader (delayed) missing module named 'odf.opendocument' - imported by pandas.io.excel._odfreader (delayed) missing module named odf - imported by pandas.io.excel._odfreader (delayed) missing module named matplotlib - imported by pandas.plotting._matplotlib.boxplot (top-level), pandas.plotting._matplotlib.compat (delayed, optional), pandas.plotting._matplotlib.timeseries (delayed), pandas.plotting._matplotlib.core (delayed), pandas.io.formats.style (optional) missing module named 'matplotlib.pyplot' - imported by pandas.plotting._matplotlib.style (delayed), pandas.plotting._matplotlib.tools (delayed), pandas.plotting._matplotlib.core (delayed), pandas.plotting._matplotlib.timeseries (delayed), pandas.plotting._matplotlib.boxplot (delayed), pandas.plotting._matplotlib.hist (delayed), pandas.plotting._matplotlib.misc (delayed), pandas.plotting._matplotlib (delayed), pandas.io.formats.style (optional), pandas.util.testing (delayed) missing module named numpy.array - imported by numpy (top-level), numpy.ma.core (top-level), numpy.ma.extras (top-level), numpy.ma.mrecords (top-level), numpy.ctypeslib (top-level) missing module named numpy.recarray - imported by numpy (top-level), numpy.ma.mrecords (top-level) missing module named numpy.ndarray - imported by numpy (top-level), numpy.ma.core (top-level), numpy.ma.extras (top-level), numpy.ma.mrecords (top-level), numpy.ctypeslib (top-level), pandas.compat.numpy.function (top-level) missing module named numpy.dtype - imported by numpy (top-level), numpy.ma.mrecords (top-level), numpy.ctypeslib (top-level) missing module named numpy.bool_ - imported by numpy (top-level), numpy.ma.core (top-level), numpy.ma.mrecords (top-level) missing module named 'matplotlib.ticker' - imported by pandas.plotting._matplotlib.converter (top-level), pandas.plotting._matplotlib.tools (top-level), pandas.plotting._matplotlib.core (delayed) missing module named 'matplotlib.table' - imported by pandas.plotting._matplotlib.tools (top-level) missing module named 'matplotlib.colors' - imported by pandas.plotting._matplotlib.style (top-level) missing module named 'matplotlib.cm' - imported by pandas.plotting._matplotlib.style (top-level) missing module named 'matplotlib.patches' - imported by pandas.plotting._matplotlib.misc (top-level) missing module named 'matplotlib.lines' - imported by pandas.plotting._matplotlib.misc (top-level) missing module named 'matplotlib.axes' - imported by pandas.plotting._matplotlib.core (delayed) missing module named 'matplotlib.units' - imported by pandas.plotting._matplotlib.converter (top-level) missing module named 'matplotlib.transforms' - imported by pandas.plotting._matplotlib.converter (top-level) missing module named 'matplotlib.dates' - imported by pandas.plotting._matplotlib.converter (top-level) missing module named numpy.expand_dims - imported by numpy (top-level), numpy.ma.core (top-level) missing module named numpy.iscomplexobj - imported by numpy (top-level), numpy.ma.core (top-level) missing module named numpy.amin - imported by numpy (top-level), numpy.ma.core (top-level) missing module named numpy.amax - imported by numpy (top-level), numpy.ma.core (top-level) missing module named 'IPython.core' - imported by pandas.io.formats.printing (delayed, conditional) missing module named IPython - imported by pandas.io.formats.printing (delayed) missing module named s3fs - imported by pandas.io.common (delayed, optional) missing module named sets - imported by pytz.tzinfo (optional) missing module named numpy.random.randn - imported by numpy.random (top-level), pandas.util.testing (top-level) missing module named numpy.random.rand - imported by numpy.random (top-level), pandas.util.testing (top-level) missing module named hypothesis - imported by pandas.util._tester (delayed, optional) missing module named 'lxml.etree' - imported by pandas.io.html (delayed) missing module named 'lxml.html' - imported by pandas.io.html (delayed)
Win10使用pyinstaller打包exe,win7不能运行问题
其实在<em>打包</em>过程中,就出现api-ms-win-crt 多个<em>运行</em>dll丢失,下载微软官网的vc redist for visual studio 2015,再次<em>运行</em><em>pyinstaller</em>  -F test.py,成功在win7下<em>运行</em>。 在编程中发现的任何warning,error,都有解决办法, 要根据提示信息获取。另外感谢stack overflow,类似的问题肯定别人也遇到过。多<em>使用</em>搜索工具。
pyinstaller 打包后找不到module的问题
我做了一个小<em>程序</em>,需要根据操作去调用不同的模块的相同的接口。 这些模块被我全添加到了一个文件夹中 mydir ...mymodule.py 在__init__.py中添加代码: improt pkgu
python模块以及导入出现ImportError: No module named ‘xxx‘问题
python中,每个py文件被称之为模块,每个具有__init__.py文件的目录被称为包。只要模块或者包所在的目录在sys.path中,就可以<em>使用</em>import 模块或import 包来<em>使用</em>如果你要<em>使用</em>的模块(py文件)和当前模块在同一目录,只要import相应的文件名就好,比如在a.py中<em>使用</em>b.py: import b 但是如果要import一个不同目录的文件(例如b.py)该怎么做呢? 首先...
我在用pyinstaller打包的时候总无法成功
我一般是先CD进入文件目录,然后用 <em>pyinstaller</em> -F -w 工程1.py 进行<em>打包</em> 貌似网上都是这么写的,可是<em>打包</em>出来的文件非常大,几百M,而且打开就报错,提示还是乱码。。。 请问转exe
pyinstaller打包生成的EXE无法打开fail to execute scripts
cmd中<em>运行</em>都没有问题,下面是我从warn文件里拷贝出来的,是否是缺失第三方库的问题? ``` missing module named 'win32com.gen_py' - imported by win32com (conditional, optional), C:\python27\lib\site-packages\<em>pyinstaller</em>-3.5.dev0+5edb4f7de-py2.7.egg\PyInstaller\loader\rthooks\pyi_rth_win32comgenpy.py (top-level) missing module named org - imported by copy (optional) missing module named readline - imported by cmd (delayed, conditional, optional), pdb (delayed, optional) missing module named pwd - imported by posixpath (delayed, conditional), shutil (optional), tarfile (optional), getpass (delayed) missing module named _sysconfigdata - imported by distutils.sysconfig (delayed) missing module named fcntl - imported by tempfile (optional), subprocess (conditional) missing module named grp - imported by shutil (optional), tarfile (optional) missing module named PyObjCTools - imported by pyttsx.drivers.nsss (top-level) missing module named AppKit - imported by pyttsx.drivers.nsss (top-level) missing module named Foundation - imported by pyttsx.drivers.nsss (top-level) missing module named 'org.python' - imported by pickle (optional), xml.sax (delayed, conditional) missing module named riscosenviron - imported by os (conditional, optional) missing module named riscospath - imported by os (conditional) missing module named riscos - imported by os (conditional, optional) missing module named ce - imported by os (conditional, optional) missing module named _emx_link - imported by os (conditional) missing module named os2 - imported by os (conditional, optional) missing module named posix - imported by os (conditional, optional) missing module named resource - imported by posix (top-level) missing module named elementtree - imported by xlrd.xlsx (delayed, conditional, optional) missing module named lxml - imported by xlrd.xlsx (delayed, conditional, optional) missing module named cElementTree - imported by xlrd.xlsx (delayed, conditional, optional) missing module named _scproxy - imported by urllib (conditional) missing module named EasyDialogs - imported by getpass (optional) missing module named termios - imported by getpass (optional) missing module named SOCKS - imported by ftplib (optional) missing module named rourl2path - imported by urllib (conditional) missing module named java - imported by xml.sax._exceptions (conditional) missing module named _xmlplus - imported by xml (optional) missing module named defusedxml - imported by xlrd.xlsx (delayed, conditional, optional) missing module named ElementC14N - imported by xml.etree.ElementTree (optional) ```
Windows10平台用PyInstaller打成exe程序后不能运行请高手指点
1 <em>pyinstaller</em> -F G:\pythonproject\StimulateTheBattlefield\graphtest.py 2 start cmd /k “G:\python二级\dist\graphtest.exe” 3 报错PyInstaller cannot check for assembly dependencies. Please install PyWin32 o...
pyinstaller打包运行报错failed to execute script main
pyqt5写完win32 应用<em>程序</em>后,经过<em>pyinstaller</em><em>打包</em>成单个文件,<em>运行</em>弹出错误提示框:failed to execute script main pycharm中<em>pyinstaller</em><em>打包</em>参数: Program:C:\Python\Python35\Scripts\<em>pyinstaller</em>.exe Parameters: -w -F $FileName$ Working directo...
Python exe Fatal error detected
最近用python写了个小工具,<em>使用</em><em>pyinstaller</em><em>打包</em>成单个exe文件成功后, 双击exe文件弹出上图错误,如果点击X或确定,<em>程序</em>将会退出, 如果不点击X和确定,<em>程序</em>又是可以<em>使用</em>的。 我的环境是:windows 7 64位系统, 分发到两台笔记本上都不会弹出上图的错误, 但是发到两台台式机都会弹出上图的错误, 系统都是windows 7 64位的,不知道什么原因? 为什么...
解决windows下 使用pyinstaller 打包subprocess.Popen()问题
自动获取本机ip和mac目的:执行系统命令,获取执行结果subprocess.Popen('ipconfig/all',shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE)问题:不<em>使用</em>-w参数就可以<em>运行</em>,但是会弹出终端窗口,加上-w参数<em>无法</em>正常<em>运行</em>解决:问题关键在于当去掉终端窗口时,<em>程序</em>没有等待命令执行结果就退出了,所以添加等待就可以...
树莓派安装pyinstaller打包可执行程序
1 ,官网www.<em>pyinstaller</em>.org下载Pyinstaller安装包; 2,解压缩安装包 3,CD到该文件夹,<em>运行</em>sudo su获得root权限 4,执行python3 setup.py install进行安装 5,执行<em>pyinstaller</em> *.py<em>打包</em>为可执行<em>程序</em>,加-F为<em>打包</em>成单个文件 6,在dist文件中找到该文件...
pyinstaller打包Python脚本成功,但是执行exe报错如下
各位大神<em>帮忙</em>看看这是啥问题
pyinstaller打包后cmd命令运行提示WindowsError:[Error 6]异常
修改自 <em>使用</em><em>pyinstaller</em><em>打包</em>的坑 这篇文章稍微有点问题,修改一下 p = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) for line in p.stdout.readlines(): print(str(line
pyinstaller打包后,在别的机子运行出错?
求大大<em>帮忙</em> python3.64版本 [rabird.winio](https://pypi.org/project/rabird.winio/ "") ←地址 简单的官方模块示例,本机<em>打包</em><em>运行</em>没问题, 在其他机子就报错 ![图片说明](https://img-ask.csdn.net/upload/201805/10/1525958507_215901.png) 示例代码: ``` import rabird.winio import time import atexit # KeyBoard Commands # Command port KBC_KEY_CMD = 0x64 # Data port KBC_KEY_DATA = 0x60 __winio = None def __get_winio(): global __winio if __winio is None: __winio = rabird.winio.WinIO() def __clear_winio(): global __winio __winio = None atexit.register(__clear_winio) return __winio def wait_for_buffer_empty(): ''' Wait keyboard buffer empty ''' winio = __get_winio() dwRegVal = 0x02 while (dwRegVal & 0x02): dwRegVal = winio.get_port_byte(KBC_KEY_CMD) def key_down(scancode): winio = __get_winio() wait_for_buffer_empty() winio.set_port_byte(KBC_KEY_CMD, 0xd2) wait_for_buffer_empty() winio.set_port_byte(KBC_KEY_DATA, scancode) def key_up(scancode): winio = __get_winio() wait_for_buffer_empty() winio.set_port_byte( KBC_KEY_CMD, 0xd2) wait_for_buffer_empty() winio.set_port_byte( KBC_KEY_DATA, scancode | 0x80) def key_press(scancode, press_time = 0.2): key_down( scancode ) time.sleep( press_time ) key_up( scancode ) # Press 'A' key Scancodes references : Keyboard scancodes key_press(0x1E) ```
PyInstaller在Mac上打包后终端文件可以运行, 但app运行闪退
比方说我这里已经<em>打包</em>好了一个,但是发现左边的双击可以<em>运行</em>显示界面,右边的app双击后却直接闪退了。 解决方法:把代码中的相对路径全部改成绝对路径。 import os import sys # 全部拼接成绝对路径 # /Users/louis/Desktop/your_file print(os.path.join(os.path.dirname(sys.argv[0]), 'your...
python生成的exe程序不能正常运行,我来填几个坑
下面描述几个我在<em>使用</em><em>pyinstaller</em>工具,生成exe文件遇到的坑,及解决方案。 一、路径中存在中文。 1、错误信息: 2、原因:exe<em>程序</em>的路径中存在中文。如: 二、找不到模块(module) 1、错误信息: 2、原因分析: 我的python<em>程序</em>是在pycharm中写的,在pycharm中,我创建的工程名称是PS_HY...
使用pyinstaller打包python程序为exe却不能执行的解决办法
“温故而知新”,故写此学习笔记,以待需要时查看。如若此文有助于解决你的问题,自然最好不过了。 问题描述: 在学习《python编程:从入门到实践》的过程中,将alien_invasion(外星人入侵)游戏项目<em>使用</em><em>pyinstaller</em><em>打包</em>时,虽然<em>打包</em>成功。但是alien_invasion.exe可执行exe出现闪退。 解决方案: 1.在命令行中,输入cd de...
pyinstaller打包python文件后,运行出现"Failed to execute script xxx.exe"错误的解决方式(No module named 'xxx')
一、问题定位:         windows+r进入cmd命令行窗口         cd exe文件所在路径;如cd C:\Users\user\Desktop\test\dist         执行命令行:xxx.exe 参数1 参数2(无参数可忽略)          我这里报的错是说字符串类型不能<em>使用</em>乘法,在python里没有转类型也是可以用的,但这里需要用int()转一下 ...
pyinstaller no module named “”
环境:(1)window7 64位(2)<em>pyinstaller</em>
Pyinstaller 两个坑 打包运行不了的解决方案
先用-F xx.py看log   ui文件加载的时候 <em>使用</em>如下方式    
pyinstaller打包程序运行一闪而过
<em>pyinstaller</em><em>打包</em><em>程序</em>为exe<em>运行</em>时一闪而过的解决办法 import os 你的代码 os.system("pause") 举个例子 """ 将华氏温度转换为摄氏温度 """ import os f = float(input('请输入华氏温度: ')) c = (f - 32) / 1.8 print('%.1f华氏度 = %.1f摄氏度' % (f, c)) os.system("...
pyinstaller使用和几个坑
<em>pyinstaller</em>是一个非常简单的<em>打包</em>python的py文件的库。用起来就几条命令就够了 直接pip install <em>pyinstaller</em> 会下载到最新版的  3.3的<em>pyinstaller</em>,和之前版本的语法是不同的,这个版本直接cmd里输入 <em>pyinstaller</em>  X:\XXX\XXX.py 就可以了  生成的文件就在c盘user\用户名\dist 下,而用户名文件下还有个buld里
python打包后的可执行程序显示no module named xlrd
![图片说明](https://img-ask.csdn.net/upload/201811/13/1542090966_215671.jpg)
pyinstaller打包exe文件及过程中 no module named 问题处理
首先进入你需要<em>打包</em>的文件目录 <em>打包</em>的时候命令为: <em>pyinstaller</em> -F *****.py 这里简单解释一下参数:-F 表示生成单一的exe文件; -w 表示生成的exe文件执行时去掉背后的dos窗口(这个不建议开始时<em>使用</em>,会影响报错信息的显示。) -p <em>pyinstaller</em>仍然不够智能,很多包的位置需要手动提供,这个参数就是提供给<em>pyinstaller</em>包的位置(dir1,dir2...
pyinstaller打包pygame做的小游戏,打包成功,却不能运行怎么解决?
python版本:3.6.4 <em>pyinstaller</em>版本:3.3.1(已装插件,兼容3.6,有过<em>打包</em>并能成功<em>运行</em><em>程序</em>的案例) 脚本是用pygame写的一个小游戏,确认可以在控制台<em>运行</em> <em>打包</em>顺利: <em>运行</em>
pyinstaller打包的exe文件无法运行
<em>pyinstaller</em> <em>打包</em>成功后<em>运行</em>时出现错误,<em>打包</em>时出现hidden import pygame_view not found,这个东西,一直找不到解决的方法 请求帮助 欢迎<em>使用</em>Markdown编辑器 新的改变 我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客: 全新的界面设计 ,将会带来全新的写作体验...
[小白求助]py打包exe后缺失dll无法运行
我用cx_freeze<em>打包</em>的,在自己电脑可以<em>运行</em>,但部分人的电脑不可以,会提示dll缺失 api-ms-win-crt-crt-stdio-l1-1-0.dll 丢失 我在网上查了一些情况,有的说要升
关于Python 打包成exe以后无法运行的问题
问题描述 最近写了个小项目,需要<em>打包</em>成exe文件<em>运行</em>,<em>程序</em>在Pycharm里面能够完美<em>运行</em>,可是,<em>打包</em>成Exe以后<em>程序</em>就会闪退,<em>无法</em>正常工作 解决方法 解决方法其实也比较简单,首先,需要说明的是,我写的<em>程序</em>需要调用外部文件,也就是配置文件,ini格式的,在源代码里面,我的<em>程序</em>调用配置文件用的是相对路径。问题也就出在这里。 这个是我<em>打包</em>之前的文件的结构,可以看到ini文件和其他p...
pyinstaller打包单个exe后无法执行错误解决
1、执行环境说明 python版本3.7 直接<em>使用</em>pip进行安装pywin32、<em>pyinstaller</em> pip install pywin32 pip install <em>pyinstaller</em> 2、<em>使用</em>了第三方库的情况 建议在<em>打包</em>之前务必找到第三方库的包,把包复制到到跟myfile.py同目录下,然后再<em>使用</em>以上2种方式<em>打包</em>,否则会<em>打包</em>失败或者即使<em>打包</em>成功,<em>程序</em>也会闪退。<em>pyinstaller</em> -p...
为什么在pyinstaller打包运行正常的.py文件为exe文件后,exe文件运行报错?
环境: win7, 32位,Python2.7, pywinauto 问题: <em>使用</em>Pyinstaller<em>打包</em>.py文件为exe文件,exe文件<em>运行</em>报错:SendInput() inserted only 0 out of 2 keyboard events. 但是.py文件<em>运行</em>正常。 代码: exe文件报错的代码在date.TypeKeys(timestr_1)这里报错,附上部分代码: #调用加密<em>程序</em>encrypt.exe加密已导出的库文件 file_encrypt_0 = r'\加密(IPS&&IDS)\EncryptDB.exe' file_encrypt_1 = PathStr + unicode(file_encrypt_0, 'utf8') app_encrypt = Application().start(file_encrypt_1) dlg_encrypt = app_encrypt.window_(class_name="#32770") date = dlg_encrypt.window_(title_re='201', class_name="SysDateTimePick32") date.TypeKeys(timestr_1)
win10 64位电脑上打包的python程序无法在win7 32位电脑上运行,有什么好的解决办法吗?
各位大神好,win10 64位电脑上<em>打包</em>的python<em>程序</em>,<em>无法</em>在win7 32位电脑上<em>运行</em>,有什么好的解决办法吗?不想安装虚拟机,再配置一个32位的环境了
python3.7 win10 64位系统下用pyinstaller打包程序在32位系统下无法运行
问题背景: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在64位的win10系统下,用python 3.7.4 写了个定时报警的小玩意儿,主要用到了pyaudio模块,写完之后,<em>使用</em><em>pyinstaller</em><em>打包</em>成.exe文件,在其他64位的电脑下能够<em>运行</em>,但是32位的win7下却<em>无法</em>打开,报错如下: 解决方法: &nbsp;&nbsp;&nbsp;&nbsp...
python中使用pip安装报错:Fatal error in launcher...解决方法
python安装了2系列版本和3系列版本用pip报的错误为:Fatal error in launcher:Unable to create process using """ 这是因为你安装了python3系列和python2系列在你的windows下,并且在环境变量中分别配置了pip,可是并没有区分pip3还是pip2所以你可以用区分Python3和Python2系列的pip:比如p
关于OS popen使用问题
最近要用os.popen模块来获得一些Windows信息 例如 os.popen("hostname") 直接用用pycharm<em>运行</em>时没有问题的,但是用pyinstall<em>打包</em>成exe的时候,双击后再代
windows下 使用pyinstaller 打包os.Popen()问题
问题:<em>pyinstaller</em> <em>使用</em>-w<em>打包</em>后os.Popen()<em>运行</em>提示WindowsError:[Error 6] 网上搜索办法: 1.subprocess.Popen调用报异常:当<em>使用</em><em>pyinstaller</em>打成.exe文件安装后<em>使用</em>p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess....
树莓派运行pyinstaller打包程序报错无法运行二进制文件文件格式错误
初步认为<em>使用</em>的64位python进行<em>打包</em>,不兼容32位树莓派,查看树莓派内核 getconf LONG_BIT 显示32位,下一步重新烧录64位系统试试,随缘更新,邮件讨论2905257286@qq.com 更新: 博主昨晚烧录了64位系统,今天<em>运行</em>仍旧是<em>无法</em><em>运行</em>二进制文件,老错误,心态爆炸,打算直接在树莓派<em>pyinstaller</em> 更新: 在树莓派装环境,打算编译,奈何...
Linux下安装pyinstaller用于将py文件打包生成一个可执行文件
听说<em>pyinstaller</em>多平台支持的比较好,考虑在linux(redhat 6 32-bit)上装个pyinstall, 不过真的是遇到太多问题了。。。下面是安装和<em>使用</em>流程: 安装<em>使用</em>流程 1. 首先给系统装个easy_install, 如果装了的可以跳过这步 到pypi官方网址 https://pypi.python.org/pypi/setuptools 去d
pyinstaller 打包python脚本成可执行文件
安装 pip install <em>pyinstaller</em> <em>使用</em> <em>打包</em>成一个可执行的文件 <em>pyinstaller</em> -F mycript.py
Python安装pyinstaller方法,以及将项目生成可执行程序的步骤
<em>pyinstaller</em>安装方法 前提:确保计算机安装了Python语言环境,并且正确配置了环境变量。 方法一:联网在线自动安装 选择一 Windows OS下进入cmd(命令行窗口) 输入:pip install <em>pyinstaller</em> 选择二 在Pycharm IDE 终端下 输入:pip install <em>pyinstaller</em> 我在Pycharm 终端下安装pyins...
【Python错误解决】No module named 'HTMLParser'解决办法
import HTMLParser更换为from html.parser import HTMLParser import HTMLParser 改为: from html.parser import HTMLParser (其实很多错误是由于python版本的原因并不是其他实质性错误) ...
pyinstaller导出32位可执行文件
2019独角兽企业重金招聘Python工程师标准&gt;&gt;&gt; ...
解决 No module named 'resource' 问题
最近在本地装了一个pyspark,在<em>运行</em>的过程中,总会遇到这样的报错。这是jupter notebook的cmd窗口。 以下是我<em>运行</em>的一段代码 stringJSONRDD = sc.parallelize((&quot;&quot;&quot; { &quot;id&quot;: &quot;123&quot;, &quot;name&quot;: &quot;Katie&quot;, &quot;age&quot;: 19, &quot;eyeColor&quot;:
使用 pyinstaller 打包 Python 程序为可执行文件
<em>使用</em> <em>pyinstaller</em> <em>打包</em> Python <em>程序</em>为可执行文件首先安装 <em>pyinstaller</em> 工具包pip install <em>pyinstaller</em>这里假定<em>打包</em>前一篇文章中的web服务器,此时<em>运行</em>下面命令<em>pyinstaller</em> -n myapp -F server.py myapp.py<em>运行</em>完成后就会在当前目录下创建出build和dist目录,在dist目录下就会有一个myapp的可执行文件。最
WIN10利用pyinstaller将Python3.6文件打包成exe程序如何在WIN7上运行
写的是一个输入txt文件路径,然后用matplotlib把这个txt里的值画出来的<em>程序</em>, 用<em>pyinstaller</em>生成exe,在WIN7上<em>运行</em>不出来
Pyinstaller打包生成可执行程序
安装: sudo pip install <em>pyinstaller</em> 也可以下载安装: https://sourceforge.net/projects/<em>pyinstaller</em>/ Pyinstaller命令的基本形式为: <em>pyinstaller</em> [options] script [script ...] | specfile <em>使用</em> <em>pyinstaller</em> myscript.py Pyinstalle
Python3之使用pyinstaller打包.py文件成exe可执行文件
安装<em>pyinstaller</em> pip3 install <em>pyinstaller</em> 找到要<em>打包</em>的py文件目录,打开cmd,输入命令: <em>pyinstaller</em> -F test.py #要带文件py后缀! 我们需要的exe文件在dist夹子中! 其它参数: 注意:图片必须是ico格式 <em>pyinstaller</em> -F –icon=dog.ico ts_combine.
pyinstaller打包多个文件生成exe可执行程序
1 首先写好Python<em>程序</em>后,需要生成可执行的exe文件,那么你需要安装<em>pyinstaller</em>,安装方法是直接在命令行输入下面的命令:       pip install Pyinstaller2  安装完成后,既可以进行exe文件的生成,生成语句如下所示:<em>pyinstaller</em> -F 路径/文件名 空格 路径文件名 即可。...
使用pyinstaller 打包你的程序,让它在你朋友的电脑上跑气来~
一、<em>pyinstaller</em>模块安装最简单的方法 : pip install <em>pyinstaller</em> 方法二:官网下载 http://www.<em>pyinstaller</em>.org/downloads.html 二、基本指令介绍-F 表示生成单个可执行文件 -W 表示去掉控制台窗口,这在GUI界面是非常有用。不过如果是命令行<em>程序</em>的话那就删除这个选项! -p 表示你自己定义需要加载...
Windows环境打包python工程为可执行程序
此次博客的目的是记录我怎样用<em>pyinstaller</em><em>打包</em>我用python开发的工程,在网上搜索了很多资源,基本上都是不全的,所以我在这儿记录一下这个比较完整的过程。前言:概述一哈,我的开发环境是windows7,然后系统是64位,安装的python和wxpython都是32位的(为什么要安装32位,因为32位的安装包开发的<em>程序</em>到时候既可以在64位操作系统上<em>运行</em>,也能在32位系统上<em>运行</em>,但是如果安装6...
pyinstaller 打包的可执行程序运行出错ImportError: /tmp/_MEIICfyah/libX11.so.6: undefined symbol: xcb_poll_for_rep
<em>pyinstaller</em> <em>打包</em>的执行文件在另一台机子上<em>运行</em>出错,错误如下: [root@hubrhel# ./main  Traceback (most recent call last):   File &quot;main.py&quot;, line 1, in &amp;lt;module&amp;gt;   File &quot;/usr/local/lib/python3.7/site-packages/PyInstaller/l...
python使用pyinstaller打包成exe可执行程序
方法一:<em>pyinstaller</em> -F mycode.py --noconsole 方法二:<em>pyinstaller</em> -F -w mycode.py (-w就是取消窗口)
树莓派3B原装Linux下使用PyInstaller将Python程序打包为可执行程序
首先在终端<em>使用</em>命令pip install <em>pyinstaller</em>安装PyInstaller 如果安装过程中报错,则进官网http://www.<em>pyinstaller</em>.org/下载最新的安装包安装,进入解压的文件夹,<em>运行</em>命令python setup.py install进行安装。 推荐源码安装 安装好了<em>使用</em>命令 <em>pyinstaller</em> ***.py 进行<em>打包</em><em>程序</em>会报错 Fatal error: P...
怎么会出现fatal error的问题呢?
Could not create output file 'F:\分包产值统计<em>程序</em>\Project1.exe' 之前都可以<em>运行</em>编译的,我只是把edit2的passwordchar属性改成了*号,其余
python模块以及导入出现ImportError: No module named 'xxx'问题
python中,每个py文件被称之为模块,每个具有__init__.py文件的目录被称为包。只要模 块或者包所在的目录在sys.path中,就可以<em>使用</em>import 模块或import 包来<em>使用</em> 如果你要<em>使用</em>的模块(py文件)和当前模块在同一目录,只要import相应的文件名就好,比 如在a.py中<em>使用</em>b.py:  import b  但是如果要import一个不同目录的文件(例如b.
pyinstaller打包py文件生成的exe报错Failed to execute script
版权声明:转载请注明作者(独孤尚良dugushangliang)出处:https://blog.csdn.net/dugushangliang/article/details/100761976 时常觉得<em>pyinstaller</em>的<em>打包</em>很玄幻,不一定成功了失败了,平常也是绕着走,遇到问题束手无策。 本次<em>打包</em>,导入了两个:re/socket。 直接<em>打包</em>后生成的exe文件报错Failed to...
[Linker Error] Fatal: Error detected (C:\2235)不知道这个错误是因为什么问题
还有 Fatal: Error detected (C:\879)这个错误也同时出现了 下面有 Fatal: Access violation. Link terminated.
pyinstaller生成的exe运行报错 Intel MKL FATAL ERROR: Cannot load mkl_mc3.dll or mkl_def.dll
在.py文件中加入 import ctypes import os import sys if getattr(sys, 'frozen', False): # Override dll search path. ctypes.windll.kernel32.SetDllDirectoryW('C:/Users/ngj/AppData/Local/Continuum/Anaconda3
python添加module问题解决no module named XXX
第一种方法: 1.找到module位置path1 2.输入#import sys             sys.path.append(path1"); 第二种方法 添加环境变量PYTHONPATH但出错,原因未知
pyspark安装遇到"No module named 'resource'"问题解决方法
我下载的是spark2.4.0,但是在pycharm<em>运行</em><em>程序</em>时import pyspark编译无错误,但是<em>运行</em>失败,提示No module named ‘resource’ 于是我首先采用cmd命令下pip3 install resource,尝试之后依然不行 之后我又用百度搜索无果,只好求助于谷歌(百度搜索量没有谷歌多,如果有问题千万要用谷歌,用小飞机就行了) 后来查到原因是pyspark的版本...
python新手,pyinstaller打包问题求助
<em>使用</em><em>pyinstaller</em><em>打包</em>时发现用默认参数,<em>打包</em>成多个文件时可以在其它电脑上<em>使用</em>,<em>使用</em>-F<em>打包</em>成单文件在其它电脑上用的时候就各种提示缺dll文件,这是为什么?<em>打包</em>过程没有提示错误。 warn000
a sealed resource is missing or invalid
编了一个mac<em>程序</em>,加上数字签名后,放到另一台机子上<em>运行</em>,总是报文件损坏的错误. 但是在本机上能<em>运行</em>,于是检查,md5一样,数字签名一样. 结果在数字签名验证这里发现问题了,报: a sealed resource is missing or invalid 什么原因呢? 网上说是因为,可执行<em>程序</em>所在的文件夹下放了其他的文件. 我觉得不对,因为以前我也是放在那里的,正常啊. 后来才想
求助:用pyinstaller将pyqt5程序打包为exe时报错Failed to execute script
各位大佬,我用<em>pyinstaller</em>将一个非常简单的pyqt5<em>程序</em><em>打包</em>为exe后<em>运行</em>报错,Failed to execute script,<em>运行</em>不了。尝试了网上很多方法都不管用,故写在这里请各位帮<em>帮忙</em>
总结Pyinstaller的坑及终极解决方法
一. 首先要有个稳定环境 下面是博主经测试的觉得坑比较少的环境搭配 Python3.4 + PyQt5.4 + Pyinstaller3.2.1 Python3.5 + PyQt5.8 + Pyinstaller3.2.1 二. Pyinstaller遇到坑没必要换<em>打包</em>工具 博主好几次用Pyinstaller遇到坑时都有考虑换工具如py2exe或cx-freeze之类的,...
用PyInstaller把Python代码打包成单个独立的exe可执行文件
之前就想要把自己的BlogsToWordpress打开成exe了。一直没去弄。 又看到有人提到python打开成exe的问题。 所以打算现在就去试试。 注:此处之所有选用BlogsToWordpress,是因为此python脚本够复杂,依赖的模块够多。 如果这个都搞定了,那么其他单个的python文件,和小python项目的<em>打包</em>,就更不成问题了。 1.先去找找,目前主流有哪几种方法。
python出现错误:“No module named”
https://jingyan.baidu.com/article/6dad50755b91dea122e36e10.html
解决: PyInstaller打包后exe文件打开时出现failed to execute script
def resource_path(self, relative): if hasattr(sys, "_MEIPASS"): return os.path.join(sys._MEIPASS, relative) return os.path.join(relative) def copy_GUI(self): ...
PyQt5 Pyinstaller Failed to execute script部分解决方法
1、取消 -w 参数,让他显示命令窗口; 2、按住shift,右击鼠标,选择 “在此处打开powershell”(或命令窗口); 3、将生成的exe拖入,按回车; 4、可以看到具体的报错信息; 5、如果是“unable to find Qt5xx.dll”,就将Python安装路径下的/Lib/site-packages/PyQt5/Qt/bin添加到环境变量; 6、如果是“no mod...
Python打包—Pyinstaller
2018-09-27 21:12:05 一前言 在windows平台学习python的过程中,你肯定会遇到需要把.py脚本<em>打包</em>成.exe的情形,如此,至少有两方面的好处:第一,你的代码保密性更好,其他人不能直接看到python代码;第二,<em>打包</em>后的exe<em>程序</em>无需再安装相应的模块即可直接<em>使用</em>;其中,第二条是我们做<em>打包</em>工作的主要考虑,方便工具的分发和<em>使用</em>。 二pytho...
有人用过pyinstaller打包过代码吗?运行结果不一致
如图,eric<em>运行</em>出来的界面好看了不少,用<em>pyinstaller</em><em>打包</em>出的exe执行,界面丑了不少,求大神解答 img=https://img-bbs.csdn.net/upload/201805/10
使用pyinstaller打包程序时踩过的坑
一直在学习新的东西,感觉当时学了!懂了!会了!但是过了就忘了!!!深刻反思后,觉得是没有总结的原因。刚好这段时间因为工作需要在学习pyqt,就把自己在<em>使用</em><em>pyinstaller</em>对<em>程序</em><em>打包</em>时遇到的一些问题及解决方法总结出来供大家参考,能力有限,若有不对的地方望指正。 <em>pyinstaller</em>参数 <em>打包</em>步骤 1.安装<em>pyinstaller</em> 2. 坑 坑一 坑二 ...
解决pyinstaller打包时出现的“ No module named pkg_resources”
最近<em>使用</em><em>pyinstaller</em>把python文件编译成二进制<em>程序</em>,发现<em>打包</em>时一直出现“ No module named pkg_resources”错误,查了下资料,发现<em>pyinstaller</em>不支持pkg_resources,而由于我的py文件里<em>使用</em>了protobuf,protobuf里面有引入pkg_resources的库,所以一直<em>打包</em>失败。 解决方法: 1、重命名c:\Python27\l
py2exe打包程序出现ImportError: No module named paramiko
win7下 Python是2.7版本,在<em>程序</em>中import paramiko了,调试模式下也可以ssh连接Linux服务器了,但用了py2exe<em>打包</em><em>程序</em>后,点击<em>程序</em>产生出一个日志文件,里面显示Impo
求助:pyinstaller生成exe执行错误moduleNotFoundError: no module named cv2
用<em>pyinstaller</em><em>打包</em>成exe执行时,出现这种错误怎么解决啊,其它自定义的包都行,在hiddenimport添加了cv2也没用,<em>谢谢</em>各位大佬了
【转载】用PyInstaller把Python代码打包成单个独立的exe可执行文件
链接:用PyInstaller把Python代码<em>打包</em>成单个独立的exe可执行文件 【记录】用PyInstaller把Python代码<em>打包</em>成单个独立的exe可执行文件 之前就想要把自己的BlogsToWordpress打开成exe了。一直没去弄。 又看到有人提到python打开成exe的问题。 所以打算现在就去试试。 注:此处之所有选用BlogsToWordpr
运行pyinstaller打包成的EXE报错,恳求大佬指点。(甲方逼迫甚紧)
利用<em>pyinstaller</em><em>打包</em>了一个基于theano的目标识别<em>程序</em>。在pycharm平台能够正常<em>运行</em>。但是<em>运行</em><em>打包</em>后的<em>程序</em>则显示,C++编译器不可用。之后我又安装mingw第三方库,安完后<em>程序</em>在pyc
pyinstaller使用
1.下载安装<em>pyinstaller</em>      http://www.<em>pyinstaller</em>.org/      解压到任意位置即可。 2.编译配置环境      进入<em>pyinstaller</em>解压目录,<em>运行</em>   python Configure.py    *(可能需要安装pywin32.下载并安装即可,重新<em>运行</em> python Configure.py) 3.生成spec    进入py
python中用pyinstaller将游戏打包成EXE中遇到的问题
我在学习python过程中,一直在学习《python编程:从入门到实践》 在学习外星人入侵游戏时中,遇到一个问题 就是pip <em>pyinstaller</em>之后,将我写的文件<em>打包</em>成exe文件,最终是能<em>打包</em>成exe但是最后的问题在cmd窗口上出现这样的文字: Fatal Python error: initfsencoding: unable to load the file system codec ...
pyinstaller打包报错: RecursionError: maximum recursion depth exceeded,UnicodeDecodeError
RecursionError 想<em>使用</em>python<em>打包</em>生成exe文件,突然发现在<em>打包</em>过程中会出现:RecursionError: maximum recursion depth exceeded异常,然而百度好久,都在说明一个问题:报错提示超过最大递归深度,解决办法: import sys sys.setrecursionlimit(1000000) #例如这里设置为一百万 但...
解决python安装后cmd报错Fatal Python error: Py_Initialize: unable to load the file system codec
因为我的电脑中以前装有python,这次重新从网上安装python3后与之前残留的设置产生了冲突,打开cmd输入python出现错误: Fatal Python error: Py_Initialize: unable to load the file system codec ModuleNotFoundError: No module named 'encodings'  原因是以前的环境...
Python ImportError: No module named 'requests'
安装环境:window 10 python 3.6 工具:PyCharm5.0.3 <em>运行</em>时报错:ImportError: No module named 'requests' 解决方法: <em>运行</em>cmd  输入 pip install requests  回车等待加载完毕 重新<em>运行</em>成功
动态规划入门到熟悉,看不懂来打我啊
持续更新。。。。。。 2.1斐波那契系列问题 2.2矩阵系列问题 2.3跳跃系列问题 3.1 01背包 3.2 完全背包 3.3多重背包 3.4 一些变形选讲 2.1斐波那契系列问题 在数学上,斐波纳契数列以如下被以递归的方法定义:F(0)=0,F(1)=1, F(n)=F(n-1)+F(n-2)(n&gt;=2,n∈N*)根据定义,前十项为1, 1, 2, 3...
130 个相见恨晚的超实用网站,一次性分享出来
相见恨晚的超实用网站 持续更新中。。。
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
Python——画一棵漂亮的樱花树(不同种樱花+玫瑰+圣诞树喔)
最近翻到一篇知乎,上面有不少用Python(大多是turtle库)绘制的树图,感觉很漂亮,我整理了一下,挑了一些我觉得不错的代码分享给大家(这些我都测试过,确实可以生成) one 樱花树 动态生成樱花 效果图(这个是动态的): 实现代码 import turtle as T import random import time # 画樱花的躯干(60,t) def Tree(branch, ...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分<em>程序</em>员...
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看...
我在支付宝花了1分钟,查到了女朋友的开房记录!
在大数据时代下,不管你做什么都会留下蛛丝马迹,只要学会把各种软件运用到极致,捉奸简直轻而易举。今天就来给大家分享一下,什么叫大数据抓出轨。据史料证明,马爸爸年轻时曾被...
shell脚本:备份数据库、代码上线
备份MySQL数据库 场景: 一台MySQL服务器,跑着5个数据库,在没有做主从的情况下,需要对这5个库进行备份 需求: 1)每天备份一次,需要备份所有的库 2)把备份数据存放到/data/backup/下 3)备份文件名称格式示例:dbname-2019-11-23.sql 4)需要对1天以前的所有sql文件压缩,格式为gzip 5)本地数据保留1周 6)需要把备份的数据同步到远程备份中心,假如...
聊聊C语言和指针的本质
坐着绿皮车上海到杭州,24块钱,很宽敞,在火车上非正式地聊几句。 很多编程语言都以 “没有指针” 作为自己的优势来宣传,然而,对于C语言,指针却是与生俱来的。 那么,什么是指针,为什么大家都想避开指针。 很简单, 指针就是地址,当一个地址作为一个变量存在时,它就被叫做指针,该变量的类型,自然就是指针类型。 指针的作用就是,给出一个指针,取出该指针指向地址处的值。为了理解本质,我们从计算机模型说起...
为什么你学不过动态规划?告别动态规划,谈谈我的经验
动态规划难吗?说实话,我觉得很难,特别是对于初学者来说,我当时入门动态规划的时候,是看 0-1 背包问题,当时真的是一脸懵逼。后来,我遇到动态规划的题,看的懂答案,但就是自己不会做,不知道怎么下手。就像做递归的题,看的懂答案,但下不了手,关于递归的,我之前也写过一篇套路的文章,如果对递归不大懂的,强烈建议看一看:为什么你学不会递归,告别递归,谈谈我的经验 对于动态规划,春招秋招时好多题都会用到动态...
程序员一般通过什么途径接私活?
二哥,你好,我想知道一般<em>程序</em>猿都如何接私活,我也想接,能告诉我一些方法吗? 上面是一个读者“烦不烦”问我的一个问题。其实不止是“烦不烦”,还有很多读者问过我类似这样的问题。 我接的私活不算多,挣到的钱也没有多少,加起来不到 20W。说实话,这个数目说出来我是有点心虚的,毕竟太少了,大家轻喷。但我想,恰好配得上“一般<em>程序</em>员”这个称号啊。毕竟苍蝇再小也是肉,我也算是有经验的人了。 唾弃接私活、做外...
字节跳动面试官这样问消息队列:分布式事务、重复消费、顺序消费,我整理了一下
你知道的越多,你不知道的越多 点赞再看,养成习惯 GitHub上已经开源 https://github.com/JavaFamily 有一线大厂面试点脑图、个人联系方式和人才交流群,欢迎Star和完善 前言 消息队列在互联网技术存储方面<em>使用</em>如此广泛,几乎所有的后端技术面试官都要在消息队列的<em>使用</em>和原理方面对小伙伴们进行360°的刁难。 作为一个在互联网公司面一次拿一次Offer的面霸...
2020年大前端发展趋势
迅速发展的前端开发,在每⼀年,都为开发者带来了新的关键词。2019 年已步⼊尾声,2020 年前端发展的关键词⼜将有哪些呢?发展的方向又会是什么呢?参考2019年大前端的发展,不出意外,前端依旧会围绕⼩<em>程序</em>、超级APP、跨端开发、前端⼯程化以及新技术运用等几个方面进行展开(可以参考2019年大前端技术趋势深度解读)。 小<em>程序</em> 在⼩<em>程序</em>⽅⾯,今年仍然是⼩<em>程序</em>突⻜猛进的⼀年,各⼤主流的 App 都上线...
幸福女淘宝客下载
淘宝客导购站 源码 1.81版本更新说明:更新时间:2013-9-27 1.添加用户账号登陆 2.前台用户产品添加 加上属性 3.添加广告模块 4.用户及商店优化 5.分表优化 6.添加留言板 7.优化数据库添加分站id 相关下载链接:[url=//download.csdn.net/download/u011126291/6364193?utm_source=bbsseo]//download.csdn.net/download/u011126291/6364193?utm_source=bbsseo[/url]
ALIENTEK MINISTM32 led下载
该文件是基于STM-32开发板的程序,实现开发板上两个流水灯的交替闪烁。 相关下载链接:[url=//download.csdn.net/download/u011675298/6501399?utm_source=bbsseo]//download.csdn.net/download/u011675298/6501399?utm_source=bbsseo[/url]
数据库技术下载
数据库技术数据库技术数据库技术数据库技术数据库技术数据库技术数据库技术 相关下载链接:[url=//download.csdn.net/download/mokeily99/10399889?utm_source=bbsseo]//download.csdn.net/download/mokeily99/10399889?utm_source=bbsseo[/url]
相关热词 c# 数组类型 泛型约束 c#的赛狗日程序 c# 传递数组 可变参数 c# 生成存储过程 c# list 补集 c#获得所有窗体 c# 当前秒数转成年月日 c#中的枚举 c# 计算校验和 连续随机数不重复c#
我们是很有底线的