pyinstaller 安装失败,“setup.py 还不能工作.请在不安装的情况下使用 PyInstaller." [英] pyinstaller setup failed with "setup.py is not yet supposed to work. Please Use PyInstaller without installation."

查看:112
本文介绍了pyinstaller 安装失败,“setup.py 还不能工作.请在不安装的情况下使用 PyInstaller."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在我的 Mountain Lion 上pip install pyinstaller".它失败了

I was trying to "pip install pyinstaller" on my Mountain Lion. It failed with

setup.py is not yet supposed to work. Please Use PyInstaller without installation.

有一张票(http://www.pyinstaller.org/ticket/629) 但没有帮助.

There is a ticket for this (http://www.pyinstaller.org/ticket/629) but not helpful.

我使用的是 pythonepd 7.1.

I was using pythonepd 7.1.

推荐答案

正如它所说的它应该工作"-如果您阅读文档会发现您只需将其解压缩/解压到本地目录中,然后从那里运行即可.

As it says "it is not yet supposed to work" - if you read the documents you will find that you just unzip/unpack it into a local directory and run it from there.

您根本不应该在 pyinstaller 中运行 setup.py - 请参阅 此处 了解如何设置 pyinstaller.一旦安装并在您的路径上,您可以通过在项目目录中键入 pyinstaller your_main.py 来运行.您可能需要生成规范文件并对其进行编辑才能正常工作 - 查看文档!

You are not supposed to run setup.py in pyinstaller at all - see here for how to set up pyinstaller. Once installed and on your path you run by typing pyinstaller your_main.py in your project directory. You may have to generate a specification file and edit it for things to work correctly - See the documentation!

这篇关于pyinstaller 安装失败,“setup.py 还不能工作.请在不安装的情况下使用 PyInstaller."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆