boto3 and aiobotocore dependency #3422
-
I am trying to geneate an action in github using boto3 library but it is giving me errors when it is trying to install python libraries due to version dependencies between boto3 and aiobotocore. Since I just need pandas and boto3, when I have installed this libraries in my local script (pip install pandas and pip install boto3), I am receiving this pip freeze: boto3==1.24.75 I have tested my script and it is working in local area. Then I have saved it in a requierements.txt file and I have called it in my .yml file. Im receiving this error when the action is executing: The conflict is caused by: So, why is pip installing aiobotocore if I didn't need it in my local script? How can I solve this problem? Thanks a lot for your help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @albert-whispers, thanks for reaching out. Are you installing boto3 along with other dependencies together? We always suggest our users to follow our installation guide for clean install and to avoid conflicting dependencies errors like this. I would also recommend reaching out to aiobotocore to get more insights on what's going on as we can’t guarantee support with third-party services or resolve incompatibilities on their end. Best, |
Beta Was this translation helpful? Give feedback.
Hi @albert-whispers, thanks for reaching out.
Are you installing boto3 along with other dependencies together? We always suggest our users to follow our installation guide for clean install and to avoid conflicting dependencies errors like this.
Here's docs for boto3 install: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html#installation
I would also recommend reaching out to aiobotocore to get more insights on what's going on as we can’t guarantee support with third-party services or resolve incompatibilities on their end.
Best,
John