pyInstaller没有为python3安装 [英] pyInstaller not installing for python3

查看:121
本文介绍了pyInstaller没有为python3安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我发布这篇文章时,pyInstaller.org网站似乎已关闭.

The pyInstaller.org website appears to be down while I make this post.

我正在尝试为python3安装pyInstaller.我都尝试过:

I'm trying to installer pyInstaller for python3. I've tried both:

"c:\ python34 \ scripts \ easy_install.exe" pyInstaller "c:\ python34 \ scripts \ pip.exe"安装pyInstaller

"c:\python34\scripts\easy_install.exe" pyInstaller "c:\python34\scripts\pip.exe" install pyInstaller

但都给出:

PyInstaller\compat.py", line 129
    if sys.maxint > 2L ** 32:
                     ^
SyntaxError: invalid syntax

适用于python27的工作正常pyInstaller与python3不兼容吗?如果没有,我应该如何为Windows制作一个独立的pyqt5脚本应用程序?

Works fine for python27 Is pyInstaller not compatible with python3? If not, how should I make a standalone app of my pyqt5 scripts for windows?

推荐答案

PyInstaller 2.1尚未与Python 3.x兼容.您要么需要切换到Python 2.x,要么等到该项目与Python 3.x兼容,就可以在 PyPI 页,因为它应该具有更新的分类器,将其标记为与"Python 3.x"兼容.当前的标签是:

PyInstaller 2.1 is not yet compatible with Python 3.x. You'll either need to switch to Python 2.x or wait until the project is compatible with Python 3.x, You can check that on the PyPI page as it should then have updated classifiers that mark it as "Python 3.x" compatible. Currently the tags are:

Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.4
Programming Language :: Python :: 2.5
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2 :: Only

这篇关于pyInstaller没有为python3安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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