Skip to content

How to install PyCheMPS2 with new python3 versions that no longer support "python setup.py install" #91

@tsevasa

Description

@tsevasa

I followed steps 1.1-1.5 of the installation guide without any problems, however building PyCheMPS2 does not work for me. Running python setup.py install only throws the following warning and otherwise fails silently:

********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        By 2025-Oct-31, you need to update your project and remove deprecated calls
        or your builds will no longer be supported

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
 ********************************************************************************

This seems to be because I am using python 3.10 instead of older python versions. I tested the installation with python 2.7 and there wasn't the same issue. Can this be fixed for newer python versions somehow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions