-
Notifications
You must be signed in to change notification settings - Fork 1
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
Installation error: version: 0.2.4 Requires-Python >=3.9 #1
Comments
Sorry @Vlasovets I was very busy in job hunting. Let me look at your problem immediately:) |
thank you, @mingzehuang!
I tracked the bug down and I believe it appears in line 226: Here and here are the hints I found which might fix the issue, so basically there is a mismatch in data types between numpy and C interpreter. Could you check if both and zratios have the same "float64" type, please? you could explicitly specify datatype using this method: |
@Vlasovets Let me look into it immediately:) |
I see. I've been able to reproduce your error. Let me try to fix it. Sorry about that! |
I just specified the data type according to your suggestion. I'm not sure if it works. I'm testing. |
@Vlasovets I'm afraid it roots in the change of interpolation package while I generated the grid as float...I'm still investigating it... |
Hi, @Vlasovets, Sorry for delay. I've regenerated the interpolant and loose the version requirement. Now the 0.2.5 version on PyPI should work. Let me know if it's still incompatible with Python 3.7. Thanks. |
hi @mingzehuang,
me and @muellsen are trying to marry latentcor and some other libraries we are developing in our lab,
and I was wondering if there is any specific reason the latest version of latentcor (0.2.4) requires
Python >=3.9
?I remember in my previous issue you fixed the outdated version of scipy, so now scipy should be
>=1.7
which is reasonable, but is it possible to avoid constraint here or at least make itPython>=3.8
since many big open-source do not catch up updating their python version, and it makes impossible to use latentcor with those libraries.Here, I show one scenario when latentcor installation failed due to this issue, I also tried different environments including conda environments and Docker with macOS, Ubuntu 22.04:
Python 3.8.15 pip install latentcor==0.2.4 ERROR: Ignored the following versions that require a different python version: 0.2.4 Requires-Python >=3.9
Thank you in advance!
The text was updated successfully, but these errors were encountered: