Closed Nadine-Schneider closed 2 years ago
I never replied because I haven't yet been able to think of what could cause Sun
to be missing—unless, as just occurred to me, your project itself has a module named ephem.py
which is getting loaded instead. Drat. I wish I had thought of that two weeks ago.
Hi! No problems!
I ended up going down another path in the project and this problem no longer occurred, although others that are unrelated to Ephem did.
Just for information, I wasn't using Ephem directly. He was a dependency of Prophet.
Thanks for getting back to me and if I run into any problems I'll get back to you.
Thanks for your reply! I'm glad you didn't spend two weeks with a broken setup because of a module name.
Hi!
I'm configuring a function in AWS Lambda that should use the prophet model. When adding a layer with all the libraries that the prophet uses, an error occurs when I try to run the code:
Note: I downloaded the libraries individually and placed them in a folder that was later zipped to be used in the Lambda function.
I'm using python version 3.8. I've done tests with Ephem versions 3.7.7.1 and 4.0.0 and 4.1.3