首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何正确安装pyinstaller?(我做错什么了?)

问如何正确安装pyinstaller?(我做错什么了?)
EN

Stack Overflow用户
提问于 2013-09-04 05:03:20
回答 1查看 7.9K关注 0票数 1

我正在尝试安装pyinstaller (在Ubuntu上)。我使用了pip install pyinstaller,我认为它很好。它输出

代码语言:javascript
复制
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“,输出

代码语言:javascript
复制
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“,我得到了:

代码语言:javascript
复制
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?

谢谢!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-09-04 05:09:09

正如错误消息所述,pyinstaller做的是而不是“安装”--只有下载它、解包和运行,使用将其放置在中的路径或将其添加到路径中。

请RTFM,可以找到这里。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18605750

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档