sloria / TextBlob

Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.
https://textblob.readthedocs.io/
MIT License
9.16k stars 1.15k forks source link

ModuleNotFoundError: no module named 'textblob' #237

Closed harrisishaq closed 5 years ago

harrisishaq commented 6 years ago

Here i have a proble import text blob with error message ModuleNotFoundError: No module named 'textblob' I'm using this code from textblob import TextBlob

sloria commented 6 years ago

This likely isn't an issue with textblob. Are you using a virtualenvironment, and is textblob installed within it?

sloria commented 5 years ago

Closing for now. Feel free to re-open if this is still an issue.

Sefayay commented 5 years ago

I get the same error and I dont use a virtualenvironment.

Traceback (most recent call last):

File "", line 1, in from textblob import TextBlob

ModuleNotFoundError: No module named 'textblob'

:(

sloria commented 5 years ago

I recommend using a virtualenvironment and installing textblob within it.

nemanisagar commented 3 years ago

Sloria, I am using a venv and have textblob there - I am getting the following error python3 -m textblob.download_corpora [nltk_data] Error loading brown: <urlopen error [SSL: [nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed: [nltk_data] unable to get local issuer certificate (_ssl.c:1108)> [nltk_data] Error loading punkt: <urlopen error [SSL: [nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed: [nltk_data] unable to get local issuer certificate (_ssl.c:1108)> [nltk_data] Error loading wordnet: <urlopen error [SSL: [nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed: [nltk_data] unable to get local issuer certificate (_ssl.c:1108)> [nltk_data] Error loading averaged_perceptron_tagger: <urlopen error [nltk_data] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify [nltk_data] failed: unable to get local issuer certificate [nltk_data] (_ssl.c:1108)> [nltk_data] Error loading conll2000: <urlopen error [SSL: [nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed: [nltk_data] unable to get local issuer certificate (_ssl.c:1108)> [nltk_data] Error loading movie_reviews: <urlopen error [SSL: [nltk_data] CERTIFICATE_VERIFY_FAILED] certificate verify failed: [nltk_data] unable to get local issuer certificate (_ssl.c:1108)> Finished.