-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot import astroplan #375
Comments
Hi @cristobal-sifon! This problem occurs when astroplan tries to read a table that astropy downloads from the internet, and often problems like this occur when there are errors in the table, which happens on occasion. I know this sounds like a poor solution, but would you try importing astroplan in an hour, or tomorrow? |
I see, I'll try tomorrow again and let you know then. Thanks! |
@cristobal-sifon Should be working now! |
nope, still get the same error. Updated astropy in the meantime, using 3.0.4 now |
@cristobal-sifon not sure if you ever figured this out but I just ran into the same problem. Turns out it was osme mismatch between the cached version and the updated astropy trying to read it. For me clearing out the cache fixed the problem: In [1]: from astropy.utils.data import clear_download_cache
In [2]: clear_download_cache()
In [3]: import astroplan |
I'm encountering a potentially related problem. A build of POCS is attempting to execute
|
@jamessynge - That's is a know bug in numpy 1.15.3, if you could downgrade to 1.15.2 it should go away (and will be fixed in 1.15.4) |
@bsipocz - thanks for the tip. Do you have a link to the bug by any chance? |
numpy/numpy#12248 - it has been fixed and will be released in 1.15.4 |
I installed astroplan for the first time today, but when I tried to import it I get
I tried
import astroplan
as well asfrom astroplan import ...
. I also ran into this both when pip installing (v0.4) and when cloning and installing from source. This also happens both from the console and in a jupyter notebook. I have python 3.6.4, installed through anacondaThe text was updated successfully, but these errors were encountered: