- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我在本地环境中运行时,我的程序运行良好。但是用pyinstaller打包后就出错了。我尝试过 this ,但也失败了。这是 pyinstaller 的输出:
454 INFO: Testing for ability to set icons, version resources...
581 INFO: ... resource update available
592 INFO: UPX is not available.
710 INFO: Processing hook hook-os
983 INFO: Processing hook hook-time
989 INFO: Processing hook hook-cPickle
1219 INFO: Processing hook hook-_sre
1597 INFO: Processing hook hook-cStringIO
1953 INFO: Processing hook hook-encodings
1969 INFO: Processing hook hook-codecs
3881 INFO: Extending PYTHONPATH with C:\Users\mark\VitualEnvimnt\env2\app
5634 INFO: checking Analysis
5634 INFO: building Analysis because out00-Analysis.toc non existent
5634 INFO: running Analysis out00-Analysis.toc
5634 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable
32148 INFO: Searching for assembly amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none ...
32148 INFO: Found manifest C:\Windows\WinSxS\Manifests\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022. 8_none_750b37ff97f4f68b.manifest
32197 INFO: Searching for file msvcr90.dll
32197 INFO: Found file C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022. 8_none_750b37ff97f4f68b\msvcr90.dll
32197 INFO: Searching for file msvcp90.dll
32197 INFO: Found file C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022. 8_none_750b37ff97f4f68b\msvcp90.dll
32197 INFO: Searching for file msvcm90.dll
32197 INFO: Found file C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022. 8_none_750b37ff97f4f68b\msvcm90.dll
32769 INFO: Analyzing C:\Users\mark\VitualEnvimnt\env2\lib\site-packages\pyinstaller-2.1-py2.7. egg\PyInstaller\loader\_pyi_bootstrap.py
32815 INFO: Processing hook hook-os
32871 INFO: Processing hook hook-site
32911 INFO: Processing hook hook-encodings
33105 INFO: Processing hook hook-time
33112 INFO: Processing hook hook-cPickle
33217 INFO: Processing hook hook-_sre
33437 INFO: Processing hook hook-cStringIO
33588 INFO: Processing hook hook-codecs
34237 INFO: Processing hook hook-pydoc
34664 INFO: Processing hook hook-email
34838 INFO: Processing hook hook-httplib
34979 INFO: Processing hook hook-email.message
35224 INFO: Analyzing C:\Users\mark\VitualEnvimnt\env2\lib\site-packages\pyinstaller-2.1-py2.7. egg\PyInstaller\loader\pyi_importers.py
35311 INFO: Analyzing C:\Users\mark\VitualEnvimnt\env2\lib\site-packages\pyinstaller-2.1-py2.7. egg\PyInstaller\loader\pyi_archive.py
35411 INFO: Analyzing C:\Users\mark\VitualEnvimnt\env2\lib\site-packages\pyinstaller-2.1-py2.7. egg\PyInstaller\loader\pyi_carchive.py
35512 INFO: Analyzing C:\Users\mark\VitualEnvimnt\env2\lib\site-packages\pyinstaller-2.1-py2.7. egg\PyInstaller\loader\pyi_os_path.py
35532 INFO: Analyzing application.py
35686 INFO: Processing hook hook-PySide
36036 INFO: Processing hook hook-jinja2
36601 INFO: Processing hook hook-distutils
36694 INFO: Processing hook hook-parser
36832 INFO: Processing hook hook-sysconfig
37260 INFO: Processing hook hook-xml
37753 INFO: Processing hook hook-xml.sax
37877 INFO: Processing hook hook-pyexpat
38052 INFO: Processing hook hook-lxml.etree
38500 INFO: Processing hook hook-sqlite3
39053 INFO: Processing hook hook-xml.etree.cElementTree
39085 INFO: Processing hook hook-_elementtree
39703 INFO: Hidden import 'codecs' has been found otherwise
39703 INFO: Hidden import 'encodings' has been found otherwise
39703 INFO: Looking for run-time hooks
39704 INFO: Analyzing rthook C:\Users\mark\VitualEnvimnt\env2\lib\site-packages\pyinstaller-2.1-py2.7. egg\PyInstaller\loader\rthooks\pyi_rth_pkgres.py
57420 INFO: Using Python library C:\Windows\system32\python27.dll
57618 INFO: Warnings written to C:\Users\mark\VitualEnvimnt\env2\app\build\application\warnapplication.txt
57634 INFO: checking PYZ
57634 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing
57634 INFO: building PYZ (ZlibArchive) out00-PYZ.toc
64128 INFO: checking PKG
64128 INFO: rebuilding out00-PKG.toc because out00-PKG.pkg is missing
64128 INFO: building PKG (CArchive) out00-PKG.pkg
64177 INFO: checking EXE
64178 INFO: rebuilding out00-EXE.toc because application.exe missing
64178 INFO: building EXE from out00-EXE.toc
64239 INFO: Appending archive to EXE C:\Users\mark\VitualEnvimnt\env2\app\build\application\application.exe
64244 INFO: checking COLLECT
64246 INFO: building COLLECT out00-COLLECT.toc
在输出文件夹dist
中,运行输出exe文件application.exe
,但是qtwebkit无法加载图片,并且在编码为的网页中显示乱码使用 pyinstaller 打包 pyside gui 时不是 utf-8。我不知道发生了什么。我尝试过 this ,但也失败了。
最佳答案
尝试将 imageformats
文件夹从 PySide/plugins
文件夹复制到输出文件夹 dist
关于python - py安装程序: qwebkit cannot load pictures and garbled text when package pyside gui with pyinstaller,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22980265/
我正在尝试使用 JAXB 从 XSD 生成 java 类。 XSD 是我公司的官方 xsd,因此我无法仅为我的项目修改它们。在该网站上进行了数百次尝试和搜索后,我决定直接提出问题。 我的 XSD 中有
我已经了解了以下链接中的详细信息,但仍然存在何时使用哪个文件的问题?https://docs.npmjs.com/files/package-lock.json 最佳答案 包.json 包含项目的相关
当我在 centos 上运行命令 rpmbuild -bb mypackage.spec 时,出现错误 error: Package already exists: %package debuginf
my.packages 是 src 目录中的自定义原型(prototype)包。 Plone 实例中的数千个项目与其类型一起添加。我想将包重命名为 my.package。通过简单地卸载 my.pack
根据 javadoc 规范,我在相关包的根目录中放置了一个名为 package-info.html 的文档文件。但是,当我在该文件夹上运行 Doxygen 时,不会拾取该文件中的文档。我如何告诉 Do
我已经定义了如下的包: (defpackage :thehilariouspackageofamirteymuri (:nicknames ampack amir teymuri) (:use
我正在思考这个问题: > .packages() > (.packages()) [1] "stats" "graphics" "grDevices" "utils" "datase
我在内存中有一个 System.IO.Packaging.Package(它是一个 WordprocessingDocument)并且想将它流式传输到浏览器以保存它。 Word 文档已被基于 MVC
即使这是我不常发现的东西,在成员之前注释/* package*/的原因是什么? /* package */ final void attach(Context context) { atta
我正在开发我的应用程序,但在添加包以便导入它时,我总是收到此错误。 error: type 'Package.Dependency' has no member 'Package' 这是我的 Pack
install.packages("data.table") trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.
放置手动创建的插件的最佳位置是什么: a) C:\Users\{UserName}\AppData\Roaming\Sublime Text 3\Packages 或 b) C:\Users\{Use
这是一个有趣的 Perl 行为。 (至少对我来说 :) ) 我有两个包 PACKAGE1 和 PACKAGE2,它们导出具有相同名称的函数 Method1()。 由于将有如此多的包将导出相同的功能,使
package-archives (("marmalade" . "http://marmalade-repo.org/packages/") ("gnu" . "http://elpa.gnu.or
任何人都可以让我知道 package-lock.json 文件的确切用途吗? 尽管许多人提到它用于查看版本化依赖树。 寻找简单易行的解释。 提前致谢。 最佳答案 npm install使用此文件来确保
Python documentation说 Consider this code: import sound.effects.echo import sound.effects.surround fr
我在 ubuntu 上运行 VPS: Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 C
我有这样一个结构 $ tree -h . ├── [1.0K] myproj │ ├── [ 0] index.py │ ├── [ 0] __init__.py │ └──
我正在尝试解压 System.IO.Packaging.Package我从网络服务器收到的。也就是说,我正在使用 System.IO.Packaging.Package.Open(Stream)方法并
关于 package.json 文件中的@types 依赖项,我有一个愚蠢的问题: 在下面的 URL 中解释了应该安装的类型作为运行时依赖 npm install --save @types/loda
我是一名优秀的程序员,十分优秀!