[AstroPy] Moment maps, error
Peter Dzwig
pdzwig at summaventures.com
Thu Mar 14 13:15:25 EDT 2024
have you tried via pip?
See: https://docs.astropy.org/en/stable/install.html
Peter
On 14/03/2024 14:36, Giulia Majerczyk wrote:
> Yes, it fails as well.
> I, too, installed python via anaconda 3.
> I think it depends on the astropy version but I don't know how to find a
> solution.
>
> Giulia
>
> Il Gio 14 Mar 2024, 15:16 peter teuben <teuben at umd.edu
> <mailto:teuben at umd.edu>> ha scritto:
>
>
> Giulia : you could try "import astropy" and see if that fails as well.
>
> I am teaching a python class, with a mix of Mac and Win (and one
> Linux) laptops, and they all installed python via anaconda3. When I
> let them use astropy, more than half had this problem. I was baffled
> as I was under the impression that anaconda3 would always come with
> astropy, independent of the architecture.
>
> I'll cherry pick a few cases to see why it's not there, it's quite
> possible that they accidentally had another python version on their
> laptop and executing that version. I must say this is one of those
> cases where a full GUI environment still drives me nuts.
>
> - peter
>
> On 3/14/24 10:07, Eric LN Jensen wrote:
>> Hi Giulia,
>>
>> Can you post some code that shows what you are trying to do when
>> you get that error? We need more context here to see what you’re
>> importing and what function(s) you’re trying to call.
>>
>> Eric
>>
>>> On Mar 14, 2024, at 10:00 AM, Giulia <giuliamajerczyk at gmail.com>
>>> <mailto:giuliamajerczyk at gmail.com> wrote:
>>>
>>> I have difficulty with moment maps because the code gives me the
>>> following error:
>>> " ModuleNotFoundError: No module named
>>> 'astropy.coordinates.angle_utilities' ".____
>>> How can I solve it?
>>>
>>> Cheers,
>>> Giulia____
>>> __ __
>>
>> _______________________________________________
>> AstroPy mailing list
>> AstroPy at python.org <mailto:AstroPy at python.org>
>> https://mail.python.org/mailman/listinfo/astropy <https://mail.python.org/mailman/listinfo/astropy>
> _______________________________________________
> AstroPy mailing list
> AstroPy at python.org <mailto:AstroPy at python.org>
> https://mail.python.org/mailman/listinfo/astropy
> <https://mail.python.org/mailman/listinfo/astropy>
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at python.org
> https://mail.python.org/mailman/listinfo/astropy
--
Dr. Peter Dzwig
More information about the AstroPy
mailing list