Skip to content

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

@TheFirstPhoenix

Description

@TheFirstPhoenix

pip install newsapi-python

from newsapi import NewsApiClient

its suppost to allow me to all newsapiclient into other scripts but insted it says

line 4, in
from newsapi import NewsApiClient
ImportError: cannot import name 'NewsApiClient' from 'newsapi' (C:\Users"my name"\AppData\Local\Programs\Python\Python311\Lib\site-packages\newsapi_init_.py

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