Open ahlamaq opened 5 months ago
Hello,
Thank you for letting me know! I was able to replicate your error, and I had a missing apostrophe in pyproject.toml
which I just pushed a fix to. It's installing properly now on my machine -- let me know if that solves it for you!
Sheila
Hi Sheila,
I hope this email finds you well. Many thanks for your prompt response to the issue I posted, I really appreciate it. I have tried installing it again and I am now running into a different error (copied below). Do you know how to fix this?
ERROR: Ignored the following versions that require a different python version: 0.14.0 Requires-Python >=3.9; 0.4.0 Requires-Python >=3.8; 0.4.1 Requires-Python >=3.8; 0.4.10 Requires-Python >=3.8; 0.4.11 Requires-Python
=3.8; 0.4.12 Requires-Python >=3.8; 0.4.13 Requires-Python >=3.8; 0.4.14 Requires-Python >=3.9; 0.4.15 Requires-Python >=3.9; 0.4.16 Requires-Python =3.9; 0.4.17 Requires-Python >=3.9; 0.4.18 Requires-Python >=3.9; 0.4.19 Requires-Python >=3.9; 0.4.2 Requires-Python >=3.8; 0.4.20 Requires-Python =3.9; 0.4.21 Requires-Python >=3.9; 0.4.22 Requires-Python >=3.9; 0.4.23 Requires-Python >=3.9; 0.4.24 Requires-Python >=3.9; 0.4.25 Requires-Python =3.9; 0.4.26 Requires-Python >=3.9; 0.4.3 Requires-Python >=3.8; 0.4.4 Requires-Python >=3.8; 0.4.5 Requires-Python >=3.8; 0.4.6 Requires-Python =3.8; 0.4.7 Requires-Python >=3.8; 0.4.8 Requires-Python >=3.8; 0.4.9 Requires-Python >=3.8; 1.22.0 Requires-Python >=3.8; 1.22.1 Requires-Python =3.8; 1.22.2 Requires-Python >=3.8; 1.22.3 Requires-Python >=3.8; 1.22.4 Requires-Python >=3.8; 1.23.0 Requires-Python >=3.8; 1.23.0rc1 Requires-Python >=3.8; 1.23.0rc2 Requires-Python >=3.8; 1.23.0rc3 Requires-Python >=3.8; 1.23.1 Requires-Python >=3.8; 1.23.2 Requires-Python =3.8; 1.23.3 Requires-Python >=3.8; 1.23.4 Requires-Python >=3.8; 1.23.5 Requires-Python >=3.8; 1.24.0 Requires-Python >=3.8; 1.24.0rc1 Requires-Python >=3.8; 1.24.0rc2 Requires-Python >=3.8; 1.24.1 Requires-Python >=3.8; 1.24.2 Requires-Python >=3.8; 1.24.3 Requires-Python =3.8; 1.24.4 Requires-Python >=3.8; 1.25.0 Requires-Python >=3.9; 1.25.0rc1 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.0b1 Requires-Python <3.13,>=3.9; 1.26.0rc1 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 1.26.3 Requires-Python >=3.9; 1.26.4 Requires-Python >=3.9; 1.4 Requires-Python =3.8; 1.4.1 Requires-Python >=3.8; 1.5 Requires-Python >=3.8; 1.6.1 Requires-Python >=3.8; 1.7.1 Requires-Python >=3.9; 1.8.1 Requires-Python =3.9; 1.8.2 Requires-Python >=3.8; 1.8.3 Requires-Python >=3.8; 1.9.0 Requires-Python >=3.8; 1.9.1 Requires-Python >=3.8; 1.9.2 Requires-Python =3.8; 2.0.0b1 Requires-Python >=3.9; 2.0.0rc1 Requires-Python >=3.9; 5.0 Requires-Python >=3.8; 5.0.1 Requires-Python >=3.8; 5.0.2 Requires-Python =3.8; 5.0.3 Requires-Python >=3.8; 5.0.4 Requires-Python >=3.8; 5.0.5 Requires-Python >=3.8; 5.0.6 Requires-Python >=3.8; 5.0.7 Requires-Python =3.8; 5.0.8 Requires-Python >=3.8; 5.0rc1 Requires-Python >=3.8; 5.0rc2 Requires-Python >=3.8; 5.1 Requires-Python >=3.8; 5.1.1 Requires-Python =3.8; 5.1rc1 Requires-Python >=3.8; 5.2 Requires-Python >=3.8; 5.2.1 Requires-Python >=3.8; 5.2.2 Requires-Python >=3.8; 5.2.dev0 Requires-Python >=3.8; 5.2rc1 Requires-Python >=3.8; 5.3 Requires-Python =3.9; 5.3.1 Requires-Python >=3.9; 5.3.2 Requires-Python >=3.9; 5.3.3 Requires-Python >=3.9; 5.3.4 Requires-Python >=3.9; 5.3rc1 Requires-Python =3.9; 6.0.0 Requires-Python >=3.9; 6.0.0rc1 Requires-Python >=3.9; 6.0.0rc2 Requires-Python >=3.9; 6.0.1 Requires-Python >=3.9; 6.1.0rc1 Requires-Python >=3.10 ERROR: Could not find a version that satisfies the requirement jaxlib (from jax-cosmo) (from versions: none) ERROR: No matching distribution found for jaxlib
Best regards, Ahlam Al Qasim
On Fri, Apr 5, 2024 at 5:21 AM Sheila Sagear @.***> wrote:
Hello,
Thank you for letting me know! I was able to replicate your error, and I had a missing apostrophe in pyproject.toml which I just pushed a fix to. It's installing properly now on my machine -- let me know if that solves it for you!
Sheila
— Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ssagear_zoomies_issues_1-23issuecomment-2D2038137822&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=R1d3IQh5MLR-9RYGCCDo7A&m=e-asKmqIok_XEKa7onvu8xCWd53_RJu0VETcBewLonampKvy7eyIFo7xPnrQDKHc&s=KzVDaKbsWhx4yfiFfxpFHR1ymQNW477ZgSFygBsrAPQ&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADDNL54UGFIZD7T3ACFK6GTY3WY3FAVCNFSM6AAAAABFWTN5DSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZYGEZTOOBSGI&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=R1d3IQh5MLR-9RYGCCDo7A&m=e-asKmqIok_XEKa7onvu8xCWd53_RJu0VETcBewLonampKvy7eyIFo7xPnrQDKHc&s=uhMV8IeztY0MvyXrxIBt02VE1NUF5ZZF0kRe9VYTusw&e= . You are receiving this because you authored the thread.Message ID: @.***>
Hi Ahlam,
Can you tell me what version of Python you're running? Also, are you able to install jax-cosmo with pip install jax-cosmo
? I'm not running into this issue with a fresh conda environment so it might be an issue with your environment. Let me know!
Sheila
Hi Sheila,
Many thanks for getting back to me. The python version I am running is Python 3.7.15. I tried running pip install jax-cosmo as you suggested, and I get the following error below:
ERROR: Ignored the following versions that require a different python version: 0.4.0 Requires-Python >=3.8; 0.4.1 Requires-Python >=3.8; 0.4.10 Requires-Python >=3.8; 0.4.11 Requires-Python >=3.8; 0.4.12 Requires-Python
=3.8; 0.4.13 Requires-Python >=3.8; 0.4.14 Requires-Python >=3.9; 0.4.15 Requires-Python >=3.9; 0.4.16 Requires-Python >=3.9; 0.4.17 Requires-Python =3.9; 0.4.18 Requires-Python >=3.9; 0.4.19 Requires-Python >=3.9; 0.4.2 Requires-Python >=3.8; 0.4.20 Requires-Python >=3.9; 0.4.21 Requires-Python =3.9; 0.4.22 Requires-Python >=3.9; 0.4.23 Requires-Python >=3.9; 0.4.24 Requires-Python >=3.9; 0.4.25 Requires-Python >=3.9; 0.4.26 Requires-Python =3.9; 0.4.3 Requires-Python >=3.8; 0.4.4 Requires-Python >=3.8; 0.4.5 Requires-Python >=3.8; 0.4.6 Requires-Python >=3.8; 0.4.7 Requires-Python =3.8; 0.4.8 Requires-Python >=3.8; 0.4.9 Requires-Python >=3.8 ERROR: Could not find a version that satisfies the requirement jaxlib (from jax-cosmo) (from versions: none) ERROR: No matching distribution found for jaxlib
It appears that it requires Python 3.8 or later. So I uninstalled my anaconda distribution and reinstalled the most recent version, which has python 3.11 (for some reason upgrading the anaconda distribution via conda wasn't working, so that's why I had to uninstall and reinstall it). I then managed to successfully install zoomies, but then ran into another error when trying to use it. I copied my code below, with the error message I got under it.
import pandas as pd import zoomies
df_targets = pd.read_csv('nexa_gaia_dr3_xmatch.csv')
rv_filter = df_targets["radial_velocity"].notnull() df_targets = df_targets[rv_filter]
r_actions = zoomies.calc_jz(df_targets)
GACS is operational after the datacentre migration but DataLink is not yet
fully operational
Traceback (most recent call last):
File "gaia_ages.py",
line 24, in
Best regards, Ahlam Al Qasim
On Fri, Apr 12, 2024 at 3:41 AM Sheila Sagear @.***> wrote:
Hi Ahlam,
Can you tell me what version of Python you're running? Also, are you able to install jax-cosmo https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_DifferentiableUniverseInitiative_jax-5Fcosmo&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=R1d3IQh5MLR-9RYGCCDo7A&m=zV9JtoaSqKGD3juy2Vy37uAaUdYpO05y2WrkiWlXkJmlS7HXEWu16FR8COhGni1U&s=fLkHu_LZh71bUW786UJEoa2PbG0K5jXL0EKHEfnN990&e= with pip install jax-cosmo? I'm not running into this issue with a fresh conda environment so it might be an issue with your environment. Let me know!
Sheila
— Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ssagear_zoomies_issues_1-23issuecomment-2D2050298263&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=R1d3IQh5MLR-9RYGCCDo7A&m=zV9JtoaSqKGD3juy2Vy37uAaUdYpO05y2WrkiWlXkJmlS7HXEWu16FR8COhGni1U&s=p5pqh9cVJtQpPsHWEjdysvSC0wNNV-e0mBwoMvTTWOk&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADDNL53MPZJH4NINDQ65U2DY43KNPAVCNFSM6AAAAABFWTN5DSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGI4TQMRWGM&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=R1d3IQh5MLR-9RYGCCDo7A&m=zV9JtoaSqKGD3juy2Vy37uAaUdYpO05y2WrkiWlXkJmlS7HXEWu16FR8COhGni1U&s=PYipwMVDdX_8e6SteGMHybva56hqxDUq6uzEMvQOISE&e= . You are receiving this because you authored the thread.Message ID: @.***>
I receive the following error when I try to run the pip install command (pip install git+https://github.com/ssagear/zoomies):
pip._vendor.tomli.TOMLDecodeError: Unclosed array (at line 20, column 69)
I am not sure how to resolve this - is there a way to fix it?