Coder Social home page Coder Social logo

Comments (3)

BIGdeadLock avatar BIGdeadLock commented on June 30, 2024

I managed to reslove the Monkey patch error by adding:
from gevent import monkey as mon
mon.patch_all(thread=False, select=False)

in the main.py (not the same place where the grequests was import).

Now grequests work but I get the following warning when I start my program:

image

from grequests.

spyoungtech avatar spyoungtech commented on June 30, 2024

You need to make sure gevent is imported first. Also, you need to use a gevent-compatible debugger.

I'm guessing this is the same fundamental issue in your other issue so, I am going to close this one in favor of using #164 for further discussion.

from grequests.

BIGdeadLock avatar BIGdeadLock commented on June 30, 2024

Is it supposed to be imported before grequests? Anyhow, it is imported first. It's the first module to be imported in the project and I still get the warning

from grequests.

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.