Skip to content

MonkeyPatchWarning on Linux Mint #25

@Swuup

Description

@Swuup

Expected Behavior

  • No large errors

Current Behavior

Sends a long error (see below)

/usr/local/lib/python3.8/dist-packages/grequests.py:22: MonkeyPatchWarning: Monkey-patching ssl after ssl has already been imported may lead to errors, including RecursionError on Python 3.6. It may also silently lead to incorrect behaviour on Python 3.7. Please monkey-patch earlier. See https://github.com/gevent/gevent/issues/1016. Modules that had direct imports (NOT patched): ['aiohttp.client_reqrep (/home/super_user_oppy/.local/lib/python3.8/site-packages/aiohttp/client_reqrep.py)', 'aiohttp.connector (/home/super_user_oppy/.local/lib/python3.8/site-packages/aiohttp/connector.py)', 'aiohttp.client_exceptions (/home/super_user_oppy/.local/lib/python3.8/site-packages/aiohttp/client_exceptions.py)', 'aiohttp.client (/home/super_user_oppy/.local/lib/python3.8/site-packages/aiohttp/client.py)'].

Context

  • A Discord Bot command that gives info with the Hypixel API.
  • Has no real issues, just fills terminal with a long piece of text

Your Environment

  • Version used: Python 3.8
  • Operating System and version (desktop or mobile): Linux Mint 20 "ulyana"
  • Used libraries: Hypixel.py, Discord.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions