Hoşgeldin Misafir

"AttributeError: module 'httpcore' has no attribute 'Request'" hatası

gtech

26 Ara 2017
604 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
Python:panoya kopyala

Kod:
import httpx
  File "C:\Users\DELL\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx\__init__.py", line 48, in <module>
    from ._main import main
  File "C:\Users\DELL\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx\_main.py", line 111, in <module>
    def format_request_headers(request: httpcore.Request, http2: bool = False) -> str:
AttributeError: module 'httpcore' has no attribute 'Request'

Yukarıdaki hatayı Python kodumda nasıl düzeltebilirim?