Python Pyinstaller 3.1.1否--排除模块选项
我对pyinstaller版本3.1.1有点问题。我将它与Python3.4(Anaconda)一起使用。 我需要编译一个项目,不包括PyQt5和matplotlibPython Pyinstaller 3.1.1否--排除模块选项,python,matplotlib,pyinstaller,pyqt5,Python,Matplotlib,Pyinstaller,Pyqt5,我对pyinstaller版本3.1.1有点问题。我将它与Python3.4(Anaconda)一起使用。 我需要编译一个项目,不包括PyQt5和matplotlib pyinstaller --onefile --icon=Project.ico --exclude-module=PyQt5 --exclude-module=matplotlib Project.py 但当我尝试使用“-exclude module”时,会收到以下错误消息: Usage: pyinstaller-script
pyinstaller --onefile --icon=Project.ico --exclude-module=PyQt5 --exclude-module=matplotlib Project.py
但当我尝试使用“-exclude module”时,会收到以下错误消息:
Usage: pyinstaller-script.py [opts] <scriptname> [ <scriptname> ...] | <specfile>
pyinstaller-script.py: error: no such option: --exclude-module
用法:pyinstaller-script.py[opts][…]
pyinstaller-script.py:错误:没有此类选项:-排除模块
我在写命令时出错了吗
欢迎任何帮助
编辑:
问题是我使用的pyinstaller版本。我没有从github加载开发分支。现在我从pyinstaller.org安装了稳定版本,一切正常。。。至少对于--exclude module指令。在PyInstaller中没有名为
--exclude module
的选项。@linusg它是现有的。。在PyInstaller中没有名为--exclude module
的选项。@linusg它是现有的。。