ryn*_*ynd 19 python install pyinstaller
(我在Windows上.)
我想使用PyInstaller.我总是可以创建bin文件pyinstaller.py [args].
__init__.py文件的包,setup.pypyinstaller\[files]该文件夹然后拨打电话python pyinstaller\pyinstaller.py.pyinstaller.org只告诉我一些事情Configure.py.
所以现在我没有想法如何安装PyInstaller,这样我就不必使用绝对路径了.你有什么想法?
Dev*_*per 30
要安装PyInstaller:
cd c:\python27\scripts按此键enter,
应该是您的pip.exe文件所在的位置.pip install pyinstaller按Enter键消息应该读取Successfully installed pyinstaller.
要安装pyInstaller,必须首先python Configure.py在pyInstaller目录中运行.要创建一个exe,你必须将脚本复制到pyInstaller目录,并python Makespec.py script.py在运行该运行后运行python Build.py script/script.spec(这些命令假设你的路径中有python目录,命令提示符在pyInstaller目录中,并且你的脚本被调用script.py. )