我试图在Ubuntu上安装pyinstaller。我用了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输出
/home/my戋name/venv/base/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/usr/games:/path/to/email戋and戋excel
发生了什么,我应该如何正确安装pyinstaller?
谢谢!