Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Dependency warning
#1
The python script runs correctly but gives the error shown below.

Windows 11 Pycharm PyCharm 2022.3 (Community Edition)
Build #PC-223.7571.203, built on November 30, 2022
Runtime version: 17.0.5+1-b653.14 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2030M
Cores: 12
Registry:
debugger.new.tool.window.layout=true
ide.experimental.ui=true

Non-Bundled Plugins:
izhangzhihao.rainbow.brackets (2022.3.5)


The warning occurs with Python 3.10.9 and Python 3.11.

import requests

quote = requests.get(url="https://api.kanye.rest")
quote.raise_for_status()

kanye = quote.json()

print(kanye)
C:\Users\John\AppData\Local\Programs\Python\Python310\python.exe E:\Python_Projects\Kanye\scratch.py
C:\Users\John\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\__init__.py:109: RequestsDependencyWarning: urllib3 (1.26.13) or chardet (None)/charset_normalizer (3.0.1) doesn't match a supported version!
warnings.warn(
{'quote': 'We will change the paradigm'}

Process finished with exit code 0



I attached a screen shot of Python Packages.

Attached Files

Thumbnail(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [solved] What is the best/pytonic way to import with dependency ? SpongeB0B 2 687 Jul-09-2023, 05:05 AM
Last Post: SpongeB0B
  how can I correct the Bad Request error on my curl request tomtom 8 5,088 Oct-03-2021, 06:32 AM
Last Post: tomtom
  Circular import dependency hobbyist 9 3,860 Feb-23-2021, 11:57 AM
Last Post: Gribouillis
  Poetry Dependency general Help felipesodre 0 1,452 Jan-14-2021, 07:46 PM
Last Post: felipesodre
  Installing nltk dependency Eshwar 0 1,841 Aug-30-2020, 06:10 PM
Last Post: Eshwar
  ImportError: cannot import name 'Request' from 'request' abhishek81py 1 3,945 Jun-18-2020, 08:07 AM
Last Post: buran
  How do I change wx version dependency? belfacode 0 1,570 May-17-2020, 09:18 AM
Last Post: belfacode
  Module Dependency installation error draems 10 10,268 Feb-12-2017, 08:18 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020