Skip to content

Missing dependencies #24

Closed
Closed

Description

@Andrew-S-Rosen

When trying to pip install python-flint, it fails if you don't have Cython or numpy installed. This should be added to the required packages.

Activity

  1. changed the title [-]Missing Cython dependency[/-] [+]Missing dependencies[/+] on Jun 21, 2022
  2. oscarbenjamin commented on Aug 13, 2023

    @oscarbenjamin
    Collaborator

    I am not sure how to do this from within setup.py. I think that it requires moving from setup.py to pyproject.toml which also then requires choosing a build backend. There are a few related problems in making that change in python-flint.

    For now as a workaround you should install Cython and numpy and use --no-build-isolation as described in the README:

    pip install 'cython>=3' numpy
    pip install --no-build-isolation python-flint
    

    On Windows or OSX this is not necessary because pip install python-flint will install precompiled binaries.

    I'm going to close this issue in favour of gh-52 which describes in more detail what needs to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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