-
Notifications
You must be signed in to change notification settings - Fork 86
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
docs: Cython version can not be installed #64
Comments
Ah sorry the instructions on pypi are outdated, but the ones in the github repo readme are correct. With the latest pip version as you are using, you need to use the following command:
Please try and let me know if this fixes your issue. In the future, you will not need do compile the binary yourself as it will be done automatically via cibuildwheel (I'm waiting for Cython v3 to release - but you can already try by using pip installing reedsolo with the |
No, this doesn't solve the issue. It installs fine, but the Cython module is not installed. After following your instructions, I see this:
|
Ok I figured it out @jcea , the issue is that since we do not use PEP517/518 in reedsolo < v2, cython is not a build requirement, so it must be installed manually beforehand (by you), and then you also need to force pip to NOT use build isolation, with the following command:
Please note that this issue arises only because you are trying to use the old reedsolo that is not made to work with modern python packaging but v2/early v3 setup.py based style. If you can accept using Cython v3 beta, I would strongly recommend to instead use the reedsolo v2 branch:
If you want to compile by yourself. Or if you can accept to use a pre-compiled creedsolo binary, you can simply use:
Please let me know if this solves your issue! In the future when Cython v3 stable will be out, this whole issue will be resolved on its own, I’ll keep it open until then for information. |
Your first command I was just following the instructions in your documentation. If those instructions require preconditions, they should be clearly stated. I would amend documentation with the details contained in this issue. Thanks for investing time on this. Much appreciated. |
@jcea Ill provide more guidance in the docs, thank you for your suggestion. I am experiencing technical difficulties at the moment so I cannot do it right now, but I will fix it in the upcoming weeks. |
I follow the steps described in the read me to install the cython version, with no luck. Specifically:
Python 3.11.3
pip 23.1.2
cython 0.29.34
The text was updated successfully, but these errors were encountered: