Closed lmwidrow closed 3 months ago
I think the issue here is that you are using a version of Python that is too old and not supported by the latest version of galpy
(and that hasn't been supported for more than a year I think). The minimum Python version for galpy
is 3.8; most major packages like numpy
and astropy
are even on a minimum version of 3.10 these days. So what's happening is that you are installing an old version of galpy
and that likely leads to this weird error. So you should upgrade your Python installation (easy using conda), no reason not to just go to 3.12 these days.
Yep. That was it. Thanks.
From: Jo Bovy @.> Sent: Friday, June 28, 2024 9:56 AM To: jobovy/galpy @.> Cc: Lawrence Widrow @.>; Author @.> Subject: Re: [jobovy/galpy] deepcopy error when trying to load galpy potential (Issue #657)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
I think the issue here is that you are using a version of Python that is too old and not supported by the latest version of galpy (and that hasn't been supported for more than a year I think). The minimum Python version for galpy is 3.8; most major packages like numpy and astropy are even on a minimum version of 3.10 these days. So what's happening is that you are installing an old version of galpy and that likely leads to this weird error. So you should upgrade your Python installation (easy using conda), no reason not to just go to 3.12 these days.
— Reply to this email directly, view it on GitHubhttps://github.com/jobovy/galpy/issues/657#issuecomment-2196984794, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFYSF7DKV4IK5OHJZA7BPWTZJVTRPAVCNFSM6AAAAABKB6NUN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWHE4DINZZGQ. You are receiving this because you authored the thread.Message ID: @.***>
I was having trouble using some of the potentials (e.g., AnyRazorThin....) and tried uninstall and then install galpy with pip and conda. Either way I now get the following error
TypeError Traceback (most recent call last)