Closed fcsimon closed 6 years ago
Hi @fcsimon ,
Are you using pip to install the package?
Thanks, Matt
Installed via PyCharm's project interpreter
Tested with Python3 IDE after installing with pip3, works fine. However, not with PyCharm IDE.
I m also facing the same error on Ubuntu 16.04 pip3!
same @blitu12345
pip install newsapi-python
make sure you get the right package
Installation error occurred while installing with anaconda prompt. command::"conda install -c kvedala newsapi-python" gives an error
Use this ,it may work:
from newsapi.newsapi_client import NewsApiClient
from newsapi.newsapi_client import NewsApiClient
This worked for me. Thanks, man!
brij1823's method worked for me!
You have to install from newsapi-python not newsapi
I just had this error too.
ModuleNotFoundError: No module named 'newsapi'
I managed to get it working by running this command in my main django folder. pip install newsapi-python
You have to install from newsapi-python not newsapi
thanks , it work for me
brij1823's suggestion worked, awesome thank you!
cli install: pip3 install newsapi
notebook command: _from newsapi.newsapi_client import NewsApiClient
_
It worked thank you.
if you ever get this error try: from newsapi import * it will import everything. just make sure right pip: pip install newsapi-python
Unresolved reference 'NewsApiClient' when attempting to import the client