I'm having issues when trying to use the astropy package in python3. I've found a few people having similar issues but haven't found a solution. I understand it's hard to help with a problem such as this but still.
When I've installed other packages such as numpy it works fine, it seems to be just astropy which is not working. The only difference between when I installed numpy and other packages as far as I can tell is time. I have used pip for installing, the installing gave no issue, it is just when trying to execute that the error: "Importerror: No module named astropy".
So far I have checked that the versions of pip and python coincide, and I believe it is installed in the correct directory. I'll link some information I think might be helpful below, I am running on mac and I read in a similar thread that the recent "macOS Catalina" update might interfere when installing packages somehow.
When trying to install astropy again:
pip3 install astropy
Requirement already satisfied: astropy in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (4.0.1.post1)
Requirement already satisfied: numpy>=1.16 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from astropy) (1.18.4)
And when I check with pip3 list it states astropy is installed.