Skip to content

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

Closed

Description

@sachin2404

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.

Activity

  1. vonbetelgeuse commented on Dec 11, 2018

    @vonbetelgeuse

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

  2. sachin2404 commented on Dec 12, 2018

    @sachin2404
    Author

    Didn't getting what you want to say

  3. sachin2404 commented on Dec 19, 2018

    @sachin2404
    Author

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

  4. jiteshjitsun commented on Jul 24, 2021

    @jiteshjitsun

    Again this problem occurring

  5. ayushhsinghh commented on Aug 8, 2021

    @ayushhsinghh

    same Issue Again.

  6. jiteshjitsun commented on Aug 10, 2021

    @jiteshjitsun

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions