mattlisiv / newsapi-python

A Python Client for News API
MIT License
394 stars 136 forks source link

ImportError: cannot import name 'NewsApiClient' from 'newsapi' #29

Closed sachin2404 closed 5 years ago

sachin2404 commented 5 years ago

I install with newsapi with pip command but it gives an Import error. what is the solution for this?? One more::I tried to install this newsapi with anaconda promp command::"conda install -c kvedala newsapi-python" also it gives and error.

vonbetelgeuse commented 5 years ago

Getting the same issue in Visual Studio 2017: namespace name "NewsAPI" could not be found Nuget Package Manager confirms API is installed

sachin2404 commented 5 years ago

Didn't getting what you want to say

sachin2404 commented 5 years ago

It is solved : use "from newsapi.newsapi_client import NewsApiClient"

jiteshjitsun commented 3 years ago

Again this problem occurring

ayushhsinghh commented 3 years ago

same Issue Again.

jiteshjitsun commented 3 years ago

first install newsapi module by using - pip install newsapi-python

then modify :- from newsapi.newsapi_client import NewsApiClient