ModuleNotFoundError: No module named 'http.client'; 'http' is not a package - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: ModuleNotFoundError: No module named 'http.client'; 'http' is not a package (/thread-27875.html) |
ModuleNotFoundError: No module named 'http.client'; 'http' is not a package - abhishek81py - Jun-25-2020 i'm running this code import requests url="https://news.google.com/news/rss" x=requests.get(url) print(x)and this error is occurred Please help how to solve this Please help
RE: ModuleNotFoundError: No module named 'http.client'; 'http' is not a package - buran - Jun-25-2020 you have a file named http.py at location home/abhishek/visual studio/ This file is interfering - rename it. |