vijoeyz

About

Username
vijoeyz
Joined
Visits
135
Last Active
Roles
Member

Activity

  • Kamalv
    Hi,

    I saw your response on kiteconnect setting in AWS, so trying to seek some help.

    I am trying to import kiteconnect in AWS lambda function however not able to

    1. installed loacally, zipped, and exported to aws but import is failing
    "errorMessage": "Unable to import module 'lambda_function': No module named 'kiteconnect'",
    "errorType": "Runtime.ImportModuleError",

    2. zipped code along with the package (added lambda_function.py to kiteconnect installed folder and zipped) in this case facing

    "errorMessage": "Unable to import module 'lambda_function': cannot import name 'x509' from 'cryptography.hazmat.bindings._rust' (unknown location)",
    "errorType": "Runtime.ImportModuleError",

    2 cases working fine in loacl but not in AWS. In case if you are able to work with kiteconnect in AWS lambda can you suggest me.

    Thanks,
    Kamal
    December 2021
    • vijoeyz
      vijoeyz
      I couldn't understand much of your environment, but import errors look mostly about PYTHONPATH and/or PYTHONHOME environment settings. Are you using a Windows AMI?
    • Kamalv
      Kamalv
      I am using LINUX instance
      NAME="Amazon Linux"
      VERSION="2"
      ID="amzn"
      ID_LIKE="centos rhel fedora"
      Python 3.8