Giter Club home page Giter Club logo

Comments (5)

borisrozumnuk avatar borisrozumnuk commented on September 21, 2024

@MohiuddinSumon Package works in two modes: synchronous - requests as http-client and asynchronous - aiohttp as http-client. In order to avoid installing unnecessary dependencies I separated installation flow into two modes:

Async mode - pip install cognitojwt[async]
Sync mode - pip install cognitojwt[sync]

from cognitojwt.

MohiuddinSumon avatar MohiuddinSumon commented on September 21, 2024

@borisrozumnuk I tried to install sync always gets error:

❯ pip install cognitojwt[sync]
zsh: no matches found: cognitojwt[sync]

but installing > pip install cognitojwt works (I'm on ubuntu 23.10)

from cognitojwt.

borisrozumnuk avatar borisrozumnuk commented on September 21, 2024

@MohiuddinSumon try pip install cognitojwt\[sync], it should work for you

from cognitojwt.

MohiuddinSumon avatar MohiuddinSumon commented on September 21, 2024

thanks , pip install 'cognitojwt[sync]' this commands also works but these doesn't solve the total problem

from cognitojwt.

MohiuddinSumon avatar MohiuddinSumon commented on September 21, 2024

I could finally make it work. I was trying to use it in lambda. My mistake was I made my code structure like this:

-package
--cognitojwt
---
-lambda_handler.py

I had to remove the folder to make it working.

from cognitojwt.

Related Issues (9)

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.