Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error for py2exe with Python version #158

Open
ABHISHEKSONI121 opened this issue Jun 17, 2024 · 0 comments
Open

Installation error for py2exe with Python version #158

ABHISHEKSONI121 opened this issue Jun 17, 2024 · 0 comments

Comments

@ABHISHEKSONI121
Copy link
Collaborator

When trying to install the development dependencies using pip install -r requirements-dev.txt on a Python 3.11 environment, an error occurs while installing py2exe. The specified version 0.12.0.2 of py2exe is not available for Python 3.11

To resolve this issue, we need to update the requirements-dev.txt file to specify a version constraint for py2exe that is compatible with Python 3.10, 3.11 and other commonly used Python versions.

I suggest updating the line in requirements-dev.txt to:

py2exe>=0.10.0.2; sys_platform == "win32" and python_version >= '3.6' and python_version < '3.12'

This will instruct pip to install the highest available version of py2exe that is greater than or equal to 0.10.0.2 and compatible with Python versions 3.6 up to 3.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant