Python使用过程中的问题
0x001 Pyinstaller 报错
Python 3.8.1 用 pip install Pyinstaller 安装后,使用 Pyinstaller 生成可执行文件报错。
解决方案
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz  
用这行命令再安装一次。  
0x002 Pyinstaller 生成程序出现黑框框
方法两则:
- pyinstaller -F filename.py --noconsole
- pyinstaller -F -w filename.py
打包
pyinstaller -F -i icon_path.icon filename.py
icon_path.icon # 图标路径
filename.py # 需要打包的文件
hare
更新于: 2019.12.30
 
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号