Skip to content Skip to sidebar Skip to footer

Installation Of Astropy In Casa

I am trying to install astropy into CASA 4.3.1 on my Mac. I'm following the instructions found here. But after running pip.main(['install', 'astropy', '--user']), I get: AttributeE

Solution 1:

I found the answer and I'm sharing it in case anyone else has the same problem in the future. The steps are the following. After having followed the procedure I mentioned in the question, without the final step, one needs to run the following command in the terminal:

python -m pip install --upgrade pip setuptools wheel

then open casa and import pip._internal and finally run pip._internal.main(['install', 'astropy', '--user']).

Post a Comment for "Installation Of Astropy In Casa"