I am trying to build a python program that will display various headlines from certain news sites. I used pip to install the module newspaper, but when I run the program, I get the error:
ImportError: No module named newspaper
Any ideas on how to fix this?
Yes, refer to the user guide doc mentioned above. But, NOTE that Python3 is:
pip install newspaper3k
and Python 2.x is:
pip install newspaper
NOTE: you may need to use sudo on some systems to install with pip. Ex:
sudo pip install newspaper