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

installing pybigtools fails due to inability to compile ring v0.17.8 #51

Open
dmalzl opened this issue Oct 10, 2024 · 2 comments
Open

Comments

@dmalzl
Copy link

dmalzl commented Oct 10, 2024

Hi,

This is probably a third party issue but I figured maybe you have a simpler solution for this here. I am currently trying to install pybigtools v0.1.2 (as required by another package) with Python version 3.11 but fail to do so as the maturin command fails at compiling ring v0.17.8. I am not familiar with Rust and it's ecosystem so I am kinda out of ideas here. I already tried to build ring from source but this also failed with a similar error. Did you experience something similar before? Could you maybe tell me what I need to do in order to get this to run?

Thanks in advance

@ghuls
Copy link
Contributor

ghuls commented Oct 14, 2024

Unless you have a very uncommon architecture, you should be able to install pybigtools from a binary wheel:
https://pypi.org/project/pybigtools/0.1.2/#files

@dmalzl
Copy link
Author

dmalzl commented Oct 14, 2024

Thanks for the reply and the suggestion. After a day of troubleshooting and googling I think that this resulted from an incompatibility of openssl versions between Rust and Python > 3.11.x (not really sure though as I did not dig too deep here). In the end I downgraded the Python 3.11.10 I was using before to 3.11.0 and everything compiled as expected so everything good now. Main message: Looks like incompatibilities between some Python 3.11 requirements and Rust which is solved by simply using 3.11.0 (at least when installing with conda)

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