Git Product home page Git Product logo

Comments (3)

bblommers avatar bblommers commented on June 19, 2024

Hi @Manisha28696, on a general note: you would have to install moto[server], not just the moto-package, to ensure it pulls in all the required dependencies.

Having said that - I cannot try this out, because I'm unable to install the requirements that you've provided:

ERROR: Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: none)
ERROR: No matching distribution found for pywin32>=223

Even with a simplified requirements-file:

aioboto3==12.3.0
aiobotocore==2.11.2
aiohttp==3.9.3
aioitertools==0.11.0
aiosignal==1.3.1
moto[server]==5.0.2

I'm running into an issue:

AttributeError: module 'aiobotocore' has no attribute 'session'

from moto.

Manisha28696 avatar Manisha28696 commented on June 19, 2024

I'm able to do aiobotocore.session.AioSession() for given package versions. Also after debugging found out that changing signature_version from s3 to s3v4 in AioConfig has worked for me.

from moto.

bblommers avatar bblommers commented on June 19, 2024

Also after debugging found out that changing signature_version from s3 to s3v4 in AioConfig has worked for me.

Do you mean that solved the problem? Great, if that's the case, I'll close this ticket. Thanks for letting us know the solution!

from moto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.