PESQ
PESQ copied to clipboard
Pesq module lambda error
When I try to add a AWS Lambda layer for pesq module, I'm receiving the "Unable to import module 'lambda_function': No module named 'pesq.cypesq'".
I had followed all the steps , along with the correct path that is "python\lib\python3.9\site-packages" for the module.
which version are you using ? do you have a screenshot about this error?
I'm using Python 3.8, PESQ-0.0.4 version. I have attached my code and the error message. I'm very sure that I have added the AWS Lambda layer in a perfect manner.
On Fri, Mar 24, 2023 at 8:26 AM Miao Wang @.***> wrote:
which version are you using ? do you have a screenshot about this error?
— Reply to this email directly, view it on GitHub https://github.com/ludlows/PESQ/issues/45#issuecomment-1482180316, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2AELVGDEXKKUHK54E7BY3LW5UEPPANCNFSM6AAAAAAWAXTQZQ . You are receiving this because you authored the thread.Message ID: @.***>
--
Thank you.
Arunraj
Software Engineer
sandeza.ai http://www.sandeza.ai/ | linkedin https://www.linkedin.com/company/sandeza-inc |+91.9952989773
oh, yes. but where is the code or the error message?
I have attached a couple of screenshots in my previous email. Let me share it with you again.
Just in case, this is my code:
import json from pesq import pesq from scipy.io import wavfile import cython
def lambda_handler(event, context):
return {
'statusCode': 200,
'body': json.dumps('Hello from Lambda!')
}
This is my response:
{ "errorMessage": "Unable to import module 'lambda_function': No module named 'pesq.cypesq'", "errorType": "Runtime.ImportModuleError", "stackTrace": [] }
On Fri, Mar 24, 2023 at 12:12 PM Miao Wang @.***> wrote:
oh, yes. but where is the code or the error message?
— Reply to this email directly, view it on GitHub https://github.com/ludlows/PESQ/issues/45#issuecomment-1482328997, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2AELVGOEZRMOUBNFHBYDXLW5U65JANCNFSM6AAAAAAWAXTQZQ . You are receiving this because you authored the thread.Message ID: @.***>
--
Thank you.
Arunraj
Software Engineer
sandeza.ai http://www.sandeza.ai/ | linkedin https://www.linkedin.com/company/sandeza-inc |+91.9952989773
it seema that pesq is not installed successfully in your virtual machine. do you have permissions to login the machine and execute code like 'from pesq import pesq ' in the terminal ?
Thanks for the quick response.
My pesq module is installed perfectly in my local machine. I'm able to run the program in vs code and terminal as well.
I have attached the screenshots for your reference.
On Fri, Mar 24, 2023 at 2:55 PM Miao Wang @.***> wrote:
it seema that pesq is not installed successfully in your virtual machine. do you have permissions to login the machine and execute code like 'from pesq import pesq ' in the terminal ?
— Reply to this email directly, view it on GitHub https://github.com/ludlows/PESQ/issues/45#issuecomment-1482496575, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2AELVEJWU7ASXJXLMPYEWDW5VSCJANCNFSM6AAAAAAWAXTQZQ . You are receiving this because you authored the thread.Message ID: @.***>
--
Thank you.
Arunraj
Software Engineer
sandeza.ai http://www.sandeza.ai/ | linkedin https://www.linkedin.com/company/sandeza-inc |+91.9952989773
Hi Ludlows/Pesq team.
Just checking if there are any updates with respect to my issue, since it is very important for me.


Hi team, any updates for the issue i'm facing 😐😐
Hi team, any updates for the issue i'm facing 😐😐