Skip to content
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

[ERROR] Runtime.ImportModuleError: Unable to import module 'wsgi': No module named 'swisseph' (typical 'it works on my machine' error) #76

Open
parthpilkhann opened this issue Jul 20, 2024 · 2 comments

Comments

@parthpilkhann
Copy link

I have built an api using flask which calculates the longitude and speeds of different planets and it runs perfectly fine in on my machine. I am using AWS lambda (serverless) for hosting and when i bundle the package and upload the zip file, the following error shows up:

SS of the error:
Screenshot 2024-07-21 004416

Need help setting up the library on the lambda environment.

@parthpilkhann parthpilkhann changed the title [ERROR] Runtime.ImportModuleError: Unable to import module 'wsgi': No module named 'swisseph' (typical it works on my machine error) [ERROR] Runtime.ImportModuleError: Unable to import module 'wsgi': No module named 'swisseph' (typical 'it works on my machine' error) Jul 20, 2024
@kkkhora
Copy link

kkkhora commented Jul 22, 2024

I encountered the same problem when using AWS lambda for hosting.

@ayushbgl
Copy link

ayushbgl commented Sep 8, 2024

Hello both, how did you resolve this? I am facing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants