我正在尝试安装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安装-升级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/中是否有正确的执行路径,我认为我是这样做的。回波$PATH输出
/home/my_name/venv/base/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/path/to/email_and_excel
发生了什么,我应该如何正确地安装pyinstaller?
谢谢!
https://stackoverflow.com/questions/18605750
复制相似问题