Closed Marthorax closed 7 years ago
Not really familiar with OS X... did you install both newspaper and ipython in the same env?
I installed newspaper on ubuntu. but same error occurred to me too. What to do?
Hello @Marthorax and @leenabharambe, I'd like to replicate the exact sequence of events of your installation to get your error to help debug it.
What command(s) did you use to install? What OS do you use? Please paste everything and be as descriptive as possible. Thanks.
On macOS we need use python3 file.py
, not python file.py
.
Good point @JSONValidator, this is probably a common mistake that's been happening.
We should inject in python3 or python2 version checks in the top level newspaper module so people get a more readable error "You are using the wrong python version" instead of a cryptic import error.
I'm working in a Jupyter iPython notebook, with Python 3, but experiencing the issue here where even after a successful !pip3 install newspaper3k
, running import newspaper
results in ModuleNotFoundError: No module named 'newspaper'
.
I verified that !python --version
returns Python 3.6.0 :: Anaconda custom (x86_64)
Any suggerstions, @codelucas ? Thanks! I'm excited to try this package.
Same issue... I am on Debian
Same issue here on Windows, even after successful installation when I try to import in my Jupyter notebook I see this error message.
Same with @kerchner
Running on Mac OS X.
Installed newspaper3k without a hitch, however, iPython won't recognize newspaper as a module. Any solutions?
Specifically, the code it can't run is: from newspaper import Article