Skip to content

Missing dependencies #24

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

Closed
Andrew-S-Rosen opened this issue Jun 21, 2022 · 1 comment
Closed

Missing dependencies #24

Andrew-S-Rosen opened this issue Jun 21, 2022 · 1 comment

Comments

@Andrew-S-Rosen
Copy link

Andrew-S-Rosen commented Jun 21, 2022

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.

@Andrew-S-Rosen Andrew-S-Rosen changed the title Missing Cython dependency Missing dependencies Jun 21, 2022
@oscarbenjamin
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants