Skip to content

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

@parthpilkhann

Description

@parthpilkhann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions