pip2 install pyinstaller
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip
我试图在django rest中使用Pyinstaller,它很好地生成.exe,但是在执行.exe时出现了一个错误,错误是
ModuleNotFoundError: No module named 'rest_framework'
我的问题是如何使用Pyinstaller安装依赖项,或者是否有其他方法。
我在Mac上使用PyInstaller有一个问题,我的Python2.7版本,我用pip安装了PyInstaller。当我在命令行中键入pyinstaller时,返回以下错误:
$ pyinstaller
-bash: pyinstaller: command not found
我从pip在Windows中安装了PyInstaller,它工作得很好。
我想使用PyInstaller来创建一个Windows可执行文件。我使用pip安装了pyinstaller,也安装了正确版本的pywin32。
当我尝试通过键入pyinstaller --version来验证pyinstaller安装时,我得到消息failed to create a process.
我做错了什么?提前感谢您的帮助。
我正在尝试安装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_inf
我使用的是Ubuntu16,安装了Python3.5,还安装了pip3,在pip3中安装了PyInstaller。我无法运行PyInstaller。每当我在终端中输入pyinstaller时,我得到以下错误?我必须添加路径吗?如果是这样,我该怎么做呢?谢谢
pyinstaller: command not found
我正在尝试制作我正在处理的python脚本的可执行文件。不知道我能修好什么。
这就是我所得到的:
Microsoft Windows [Version 10.0.10586] (c) 2015 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cd c:\users\tom\pyinstaller
c:\Users\Tom\pyinstaller>pip install pyinstaller Collecting pyinstaller Using cached PyInstaller-3.1.
我希望使用.exe将我的python文件转换为pyinstaller文件。我已经使用pip install pyinstaller安装了pyinstaller,但是当我尝试使用pyinstaller时,我得到:
C:\Users\Varnith\Desktop\program>pyinstaller --onefile main.py
'pyinstaller' is not recognized as an internal or external command,
operable program or batch file.
我最近安装了这个名为pyinstaller的软件包,我开始使用它,当我使用它时,弹出了这个错误
'pyinstaller' is not recognized as an internal or external command,
operable program or batch file.
我使用pip install pyinstaller来安装它。我有办法解决这个问题吗?
我正在使用Python3.6。
我一直在通过StackOverflow和互联网寻找如何从本地驱动器安装PyInstaller的示例或指导。我发现了一些暗示这个过程的东西,但没有明确定义它的东西。
我们的网络配置阻止我执行标准的'pip安装pyinstaller‘。在连续五次连接超时之后,它就放弃了。因此,我下载并解压缩了.gz文件,并将其从zip文件复制到我的python3.6主文件夹下的位置。
下面是该文件夹的内容。
c:\Python\Python36-32\pyinstaller-2.0>dir
Volume in drive C is SYSTEM
我刚安装了Anaconda3 2019.10。而不是在其中安装一些Python,即请求、BeautifulSoup、PyInstaller。
因此,PyInstaller的包含Python3.7.4。从这里你可以看到:
(base) C:\>python
Python 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "
我能够安装pyinstaller,当我输入pyinstaller --onefile --windowed frontend.py时,我得到了这个错误:
pyinstaller : The term 'pyinstaller' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct
当我使用pip安装包时,它显示所有东西都已安装,但实际上并没有。
这是在Windows10上。我试过安装其他软件包,同样的事情也发生了。它在命令提示符上显示为已安装,但Sublime和其他代码编辑器不会显示为已安装。
pip install pyinstaller,然后返回:Requirement already satisfied,当我将其放入sublime:No module named pyinstaller中时,即使我再次将其放入命令提示符中:pyinstaller is not recognized as an internal or external command, operab
我正在使用win7安装PyInstaller。
我已经尝试了根据( )的方法,但是我失败了,并且有日志,有什么问题吗?
C:\Python27\pyinstaller-2.0\PyInstaller>python Configure.py
回溯(最近一次调用):
File "Configure.py", line 28, in <module>
from PyInstaller import HOMEPATH, PLATFORM
ImportError: No module named PyInstaller
谢谢!
我正在尝试使用PyInstaller从python脚本创建一个可执行文件,但是我得到了以下错误
File "/Users/cmustata/Library/Python/2.7/lib/python/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1225, in _updateReference
ed = self.edgeData(fromnode, tonode)
AttributeError: 'PyiModuleGraph' object has no attribute
我需要从多个python文件创建一个可执行文件,我选择使用pyinstaller。我用pip install pyinstaller安装了它。但是,当我执行pyinstaller --onefile Main.py的命令时,我得到了以下错误:
'pyinstaller' is not recognized as an internal or external command,
operable program or batch file.
我检查了以找到解决这个问题的方法,并尝试了以下选项,但没有一个选项能够解决这个问题:
path.Uninstalled 向env 添加了py
我正在尝试在一台完全没有互联网接入的windows7机器上安装pyinstaller。我一直在尽可能多地关注,但我对python、pip和诸如此类的东西完全陌生。我下载了PyPI的归档文件,并将其解压缩到本地驱动器。在安装PyPiWin32之后,我CD到pyinstaller文件夹并运行C:\python27\python setup.py install。看起来一切都安装得很好,但是我收到了一个错误,pyinstaller正在网上寻找“未来”的软件包,当然找不到了……
因此,我进一步阅读了手册,并尝试运行pip pyinstaller install,结果显示Could not find a