我正在尝试安装pyinstaller
(在Ubuntu上)。我使用了pip install pyinstaller
,我觉得这很好。输出
Downloading/unpacking pyinstaller
Running setup.py egg_info for package pyinstaller
setup.py is not yet supposed to work. Please Use PyInstaller without installation.
Complete output from command python setup.py egg_info:
setup.py is not yet supposed to work. Please Use PyInstaller without installation.
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/alex/venv/base/build/pyinstaller
Storing complete log in /home/alex/.pip/pip.log
然后我运行了“pip install --upgrade pyinstaller”输出
Downloading/unpacking pyinstaller
Running setup.py egg_info for package pyinstaller
setup.py is not yet supposed to work. Please Use PyInstaller without installation.
Complete output from command python setup.py egg_info:
setup.py is not yet supposed to work. Please Use PyInstaller without installation.
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/alex/venv/base/build/pyinstaller
Storing complete log in /home/alex/.pip/pip.log
但是当我尝试验证安装时,如手册所示,使用“pyinstaller --version”,我得到了:
pyinstaller: command not found
手册说如果发生这种情况,我应该检查我的目录/ usr / bin /中是否有正确的执行路径,我认为我这样做了。 Echo $ PATH输出
/家庭/ MY_NAME / VENV /碱/ bin中:/ usr / lib中/ lightdm / lightdm:在/ usr / local / sbin中:在/ usr / local / bin中:/ usr / sbin目录:在/ usr / bin中:/ sbin目录: / bin中:在/ usr /游戏:/路径/到/ email_and_excel
发生了什么,我应该如何正确安装pyinstaller?
谢谢!