Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sachin2404 opened this issue Dec 7, 2018 · 6 comments
Closed

Comments

@sachin2404
Copy link

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
Copy link

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

@sachin2404
Copy link
Author

Didn't getting what you want to say

@sachin2404
Copy link
Author

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

@jiteshjitsun
Copy link

Again this problem occurring

@ayushhsinghh
Copy link

same Issue Again.

@jiteshjitsun
Copy link

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

then modify :-
from newsapi.newsapi_client import NewsApiClient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants