Skip to content

Installation error for py2exe with Python version #158

@ABHISHEKSONI121

Description

@ABHISHEKSONI121

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions