V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  goodryb  ›  全部回复第 191 页 / 共 231 页
回复总数  4618
1 ... 187  188  189  190  191  192  193  194  195  196 ... 231  
2017-10-17 17:44:52 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@fyl00 #10

$sudo pyinstaller -F -c --debug main.py
125 INFO: PyInstaller: 3.4.dev0+133d18156
125 INFO: Python: 3.6.2
136 INFO: Platform: Darwin-17.0.0-x86_64-i386-64bit
138 INFO: wrote /Users/goodryb/PycharmProjects/aliyunUI/src/main.spec
149 INFO: UPX is available.
151 INFO: Extending PYTHONPATH with paths
['/Users/goodryb/PycharmProjects/aliyunUI/src',
'/Users/goodryb/PycharmProjects/aliyunUI/src']
151 INFO: checking Analysis
152 INFO: Building Analysis because out00-Analysis.toc is non existent
152 INFO: Initializing module dependency graph...
155 INFO: Initializing module graph hooks...
157 INFO: Analyzing base_library.zip ...
5699 INFO: running Analysis out00-Analysis.toc
5712 INFO: Caching module hooks...
5720 INFO: Analyzing /Users/goodryb/PycharmProjects/aliyunUI/src/main.py
6276 INFO: Processing pre-safe import module hook urllib3.packages.six.moves
9115 INFO: Loading module hooks...
9115 INFO: Loading module hook "hook-requests.py"...
9117 INFO: Loading module hook "hook-PyQt5.py"...
9280 INFO: Loading module hook "hook-xml.etree.cElementTree.py"...
9282 INFO: Loading module hook "hook-encodings.py"...
9407 INFO: Loading module hook "hook-PyQt5.Qt.py"...
9414 INFO: Loading module hook "hook-certifi.py"...
9417 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"...
9419 INFO: Loading module hook "hook-xml.py"...
9519 INFO: Loading module hook "hook-pydoc.py"...
9520 INFO: Loading module hook "hook-PyQt5.QtCore.py"...
9677 INFO: Loading module hook "hook-PyQt5.QtGui.py"...
10381 INFO: Loading module hook "hook-PyQt5.QtPrintSupport.py"...
10537 INFO: Looking for ctypes DLLs
10547 INFO: Analyzing run-time hooks ...
10552 INFO: Including run-time hook 'pyi_rth_qt5.py'
10572 INFO: Looking for dynamic libraries
11050 INFO: Looking for eggs
11050 INFO: Using Python library /usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/Python
11056 INFO: Warnings written to /Users/goodryb/PycharmProjects/aliyunUI/src/build/main/warnmain.txt
11119 INFO: Graph cross-reference written to /Users/goodryb/PycharmProjects/aliyunUI/src/build/main/xref-main.html
11144 INFO: checking PYZ
11145 INFO: Building PYZ because out00-PYZ.toc is non existent
11145 INFO: Building PYZ (ZlibArchive) /Users/goodryb/PycharmProjects/aliyunUI/src/build/main/out00-PYZ.pyz
11882 INFO: Building PYZ (ZlibArchive) /Users/goodryb/PycharmProjects/aliyunUI/src/build/main/out00-PYZ.pyz completed successfully.
11898 INFO: checking PKG
11899 INFO: Building PKG because out00-PKG.toc is non existent
11899 INFO: Building PKG (CArchive) out00-PKG.pkg
23726 INFO: Building PKG (CArchive) out00-PKG.pkg completed successfully.
23734 INFO: Bootloader /usr/local/lib/python3.6/site-packages/PyInstaller/bootloader/Darwin-64bit/run_d
23734 INFO: checking EXE
23734 INFO: Building EXE because out00-EXE.toc is non existent
23734 INFO: Building EXE from out00-EXE.toc
23735 INFO: Appending archive to EXE /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
23793 INFO: Fixing EXE for code signing /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
23804 INFO: Building EXE from out00-EXE.toc completed successfully.


单文件打开的时候

$./main
[97057] PyInstaller Bootloader 3.x
[97057] LOADER: executable is /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
[97057] LOADER: homepath is /Users/goodryb/PycharmProjects/aliyunUI/src/dist
[97057] LOADER: _MEIPASS2 is NULL
[97057] LOADER: archivename is /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
[97057] LOADER: Extracting binaries
[97057] LOADER: Executing self as child
[97057] LOADER: set _MEIPASS2 to /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] PyInstaller Bootloader 3.x
[97058] LOADER: executable is /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
[97058] LOADER: homepath is /Users/goodryb/PycharmProjects/aliyunUI/src/dist
[97058] LOADER: _MEIPASS2 is /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] LOADER: archivename is /Users/goodryb/PycharmProjects/aliyunUI/src/dist/main
[97058] LOADER: Already in the child - running user's code.
[97058] LOADER: Python library: /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/Python
[97058] LOADER: Loaded functions from Python library.
[97058] LOADER: Manipulating environment (sys.path, sys.prefix)
[97058] LOADER: Pre-init sys.path is /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/base_library.zip:/var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] LOADER: sys.prefix is /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] LOADER: Setting runtime options
[97058] LOADER: Initializing python
[97058] LOADER: Overriding Python's sys.path
[97058] LOADER: Post-init sys.path is /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/base_library.zip:/var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa
[97058] LOADER: Setting sys.argv
[97058] LOADER: setting sys._MEIPASS
[97058] LOADER: importing modules from CArchive
[97058] LOADER: extracted struct
[97058] LOADER: callfunction returned...
[97058] LOADER: extracted pyimod01_os_path
[97058] LOADER: callfunction returned...
[97058] LOADER: extracted pyimod02_archive
[97058] LOADER: callfunction returned...
[97058] LOADER: extracted pyimod03_importers
[97058] LOADER: callfunction returned...
[97058] LOADER: Installing PYZ archive with Python modules.
[97058] LOADER: PYZ archive: out00-PYZ.pyz
[97058] LOADER: Running pyiboot01_bootstrap.py
[97058] LOADER: Running pyi_rth_qt5.py
[97058] LOADER: Running main.py
objc[97058]: Class RunLoopModeTracker is implemented in both /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/QtCore (0x10de2a010) and /usr/local/Cellar/qt/5.9.1/lib/QtCore.framework/Versions/5/QtCore (0x112cdf010). One of the two will be used. Which one is undefined.
objc[97058]: Class NotificationReceiver is implemented in both /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/QtWidgets (0x10f153218) and /usr/local/Cellar/qt/5.9.1/lib/QtWidgets.framework/Versions/5/QtWidgets (0x1131f7218). One of the two will be used. Which one is undefined.
objc[97058]: Class QCocoaPageLayoutDelegate is implemented in both /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/QtPrintSupport (0x10f372ef0) and /usr/local/Cellar/qt/5.9.1/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (0x10ff4fef0). One of the two will be used. Which one is undefined.
objc[97058]: Class QCocoaPrintPanelDelegate is implemented in both /var/folders/ks/5f8mgk0s18v3vvtm6fcwjrvr0000gn/T/_MEIFM9gJa/QtPrintSupport (0x10f372f40) and /usr/local/Cellar/qt/5.9.1/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport (0x10ff4ff40). One of the two will be used. Which one is undefined.
QObject::moveToThread: Current thread (0x7ffd8270ba70) is not the object's thread (0x7ffd824e26a0).
Cannot move to target thread (0x7ffd8270ba70)

You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
This application failed to start because it could not find or load the Qt platform plugin "cocoa"
in "".

Available platform plugins are: cocoa, minimal, offscreen.

Reinstalling the application may fix this problem.
[1] 97057 abort ./main
2017-10-17 17:02:21 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@fyl00 #7 问题基本明确,warning 中的那些模块找不到,不太清楚 brew 安装的 python3,模块的引用是怎样的,想把模块目录添加进去,发现很分散
2017-10-17 16:40:29 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@justou #6 目前来看主要是很多模块无法找到,我怀疑是不是和通过 brew 安装 python3 有关系,但直接运行脚本是没问题的
2017-10-17 16:11:29 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@fyl00 #3 不太明白,打包好之后就是 main.app 了,命令行用 open main.app 打开,停顿一下就运行结束了,没有什么输出,然后弹窗显示崩溃

http://7xqpyi.com1.z0.glb.clouddn.com/2017_10_17_16_10_35.png
2017-10-17 16:04:44 +08:00
回复了 goodryb 创建的主题 Python pyinstller 打包 pyqt5 开发的小程序,打开就崩溃
@timetolo #1 哎!~~,不容易呀,看来只能用脚本跑了
2017-10-16 16:18:03 +08:00
回复了 wclebb 创建的主题 iPhone 天天说升级后悔和卡成狗的你们可以看看这个帖子了……
降频是一方面原因,我前几天刚更换了电池,查看 CPU 频率 1400MHz,没降频,但是只是比之前稍好一些,总体还是卡顿
2017-10-16 13:51:05 +08:00
回复了 goodryb 创建的主题 硬件 有没有更换过笔记本 CPU 的,请教下几个问题
@zts1993 #7 有道理,还是不要折腾了
2017-10-16 13:28:23 +08:00
回复了 goodryb 创建的主题 硬件 有没有更换过笔记本 CPU 的,请教下几个问题
@newworld #1 供电应该没问题,两个 U TDP 都是 35W

@zts1993 #3 640M 应该是最可靠的一个,TDP 一致,820m ES 怕 boom

另外,这个就笔记本只是放家里当台式机用,上上网,看看视频什么的,不用来游戏。办公现在是 Mac

当然以后如果是重新配台式机,那肯定选择最新的硬件了。
没试过,我一般是 mac 静音,耳机音量适中,摘下耳机也不会有外放声音


根本原因还是有的软件没有支持 AirPods 摘下暂停播放这个功能
2017-10-16 10:42:59 +08:00
回复了 boyhailong 创建的主题 iPhone 6p 升级 11.03 后卡出翔
1、DFU 刷机,刷完后非常流畅,前提是一个空系统,软件装多了也会变慢
2、查看电池损耗程度,实际经历,电池损耗过大会导致 CPU 降频,造成手机卡顿,更换电池后 CPU 能保持 1400MHz。

归根结底还是两个原因,内存 1G,CPU 跟不上了,A8 才 1400MHz,现在 A10 都 2400MHz 更别说 A11
2017-10-16 10:38:46 +08:00
回复了 kenybens 创建的主题 优惠信息 0.9 折帮买电子设备
买内存条呀,还能升值
鉴于楼主是将要毕业的,提几点意见吧
1、教育经历,通篇看下来没找到楼主是什么专业的,说明你没有把重点信息凸显出来,其它几块也类似。
2、内容太多,面试官如果不是很空闲,估计没时间看你这么多废话,比如英语水平,两句话就能说完,a、CET-6,b、能够熟练阅读英文技术文档。

内容越多,反而很啰嗦,应届生最好把教育经历放在最前面,下面跟技术栈,不超过 8 条;再下面放项目经历。

如果不能掌握这种自由排版的简历,建议使用常规表格式的简历。
2017-10-15 20:32:51 +08:00
回复了 fancymax 创建的主题 分享创造 12306 订票助手 ForMac 重新上架的第一条评论竟然是这样的
至少收个 1 块钱,能过滤一大波 23333
2017-10-13 19:02:57 +08:00
回复了 goodryb 创建的主题 iPhone 自己动手给 iPhone 6 Plus 更换高容量电池,说说感受
@iCodex #37 看了下要把 Apple 的 logo 拆掉,相当于背夹电池了,还是觉得不好


@psirnull #33
@yingos #34
@Microi #35

你们觉得呢
2017-10-13 18:01:25 +08:00
回复了 goodryb 创建的主题 iPhone 自己动手给 iPhone 6 Plus 更换高容量电池,说说感受
@sjjvenu #31 5800,为何这么吊
2017-10-13 15:05:58 +08:00
回复了 goodryb 创建的主题 iPhone 自己动手给 iPhone 6 Plus 更换高容量电池,说说感受
@shadownet #28 换的哪家的,这次可以换个品牌看看
2017-10-13 14:47:11 +08:00
回复了 goodryb 创建的主题 iPhone 自己动手给 iPhone 6 Plus 更换高容量电池,说说感受
@NSAtools 半年 60%健康度也太差了, 原装电池用了两年多了,还有 70%呢
2017-10-13 14:34:29 +08:00
回复了 goodryb 创建的主题 iPhone 自己动手给 iPhone 6 Plus 更换高容量电池,说说感受
@NSAtools #23 后来怎么样了? 退货了吗?
2017-10-13 14:33:15 +08:00
回复了 goodryb 创建的主题 iPhone 自己动手给 iPhone 6 Plus 更换高容量电池,说说感受
@NSAtools #23 囧,我还想着能撑一年就好了
2017-10-13 12:35:43 +08:00
回复了 goodryb 创建的主题 iPhone 自己动手给 iPhone 6 Plus 更换高容量电池,说说感受
@lamls #16
@karlxu #17 天猫找飞毛腿旗舰店就好了


@AckywOw #14 其实没那么难,6P 算是比较好拆的
1 ... 187  188  189  190  191  192  193  194  195  196 ... 231  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2798 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 52ms · UTC 13:31 · PVG 21:31 · LAX 05:31 · JFK 08:31
Developed with CodeLauncher
♥ Do have faith in what you're doing.