我正在尝试安装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 输出
/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?
谢谢!