我想在PyInstaller上安装MinGW,但是用pip安装失败了。distutils.errors.DistutilsPlatformError: VC 6.0 is not supported by this module如何正确安装它?如果这是不可能的,我还有其他选择吗?我正在尝试从Linux版本构建一个Python应用程序。
我想安装Pyinstaller来分发我的python脚本,而不需要共享源代码。据我在网上看到的,fcntl是一个Linux库,这是相当奇怪的,因为Pyinstaller用于生成运行在.exe上的文件。下面是我在使用pip install pyinstaller时遇到的错误。
ModuleNotFoundError: No module named 'fcntl'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
err
我在Mac上使用PyInstaller有一个问题,我的Python2.7版本,我用pip安装了PyInstaller。当我在命令行中键入pyinstaller时,返回以下错误:
$ pyinstaller
-bash: pyinstaller: command not found
我从pip在Windows中安装了PyInstaller,它工作得很好。
我在Ubuntu14.04(64位)上使用python编写了一个小型GUI桌面应用程序。我想要一个我的代码的可执行版本,这样它就可以在其他linux机器上运行。我能够为Windows和Mac创建可执行文件。但是在Linux上,创建的二进制文件不能工作。
For windows:用于使代码可执行的命令是
pyinstaller -D -F -n main -w "main.py"
这在其他windows(64位)机器上也很好。
For mac:
pyinstaller --windowed "main.py"
工作得很好。
for linux:我尝试过
pyins
我正在Ubuntu20.04LTS上工作。我正在尝试从我的python文件构建exe文件。但是我在安装requirements.txt时遇到了一个问题,我使用的是Python3.8.10版本。
以下是错误:
Building wheels for collected packages: PyInstaller
Building wheel for PyInstaller (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for PyInstaller (pyproje
我想使用PyInstaller来创建一个Windows可执行文件。我使用pip安装了pyinstaller,也安装了正确版本的pywin32。
当我尝试通过键入pyinstaller --version来验证pyinstaller安装时,我得到消息failed to create a process.
我做错了什么?提前感谢您的帮助。
我有一个套接字服务器python脚本,它在linux上运行良好,但在Linux上使用pyinstaller编译成二进制文件时,它会遇到有线情况。
File "<string>", line 426, in <module>
File "<string>", line 49, in __init__
NameError: global name 'exit' is not defined
环境:
Linux 2.6.32, python2.6.6, pyinstaller 2.0
下面是一个简单的测试脚本,它可以
我正在尝试安装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
我希望使用.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.