File "configure.py", line 28, in <module>
from PyInstaller? import HOMEPATH, PLATFORM
ImportError?: No module named PyInstaller
环境变量里面我配置了 结果还是不行啊!
File "configure.py", line 28, in <module>
from PyInstaller? import HOMEPATH, PLATFORM
ImportError?: No module named PyInstaller
环境变量里面我配置了 结果还是不行啊!
''' Installation in brief --------------------- 1. Unpack the archive on you path of choice. 2. For Windows (32/64bit), Linux (32/64bit) and Mac OS X (32/64bit) precompiled boot-loaders are available. So the installation is complete. For other platforms, users should first try to build the boot-loader:: cd source python ./waf configure build install '''我装上没发现这个问题,我是在Windows下装的2.0 zip版。
我的HOMEPATH是默认的\Users\Administrator
Win7系统
xp sp3 没有问题!
安装过程中遇到的唯一问题是vc资源链接器不支持pyinstaller附带的ico文件,随便找一个像素比较低的顶替就行了!
安装方式是进入 pyinstaller 目录下的source 目录,然后在命令行输入:
python ./waf configure build install
命令格式与之前版本有很大区别
2.0直接在解压目录下运行 python pyinstaller.py -F -w --icon=ICO.ico helloworld.py
但是我的生成exe文件后运行时闪一下程序就不见了