No Module Named Textblob
Solution 1:
Use python -m pip install textblob
. If you are using conda
or virtualenv
, you'll want to activate that environment before installing.
git clone <blah>
will put files onto your computer, but your python interpreter doesn't know where those files are. The git repo probably has files like a setup.py
among others, which can help you install it, but again it needs to still be installed in a useable way in the site-packages directory of your python installation.
Note, do not git clone into site-packages, it will throw errors like "TextBlob is not a python module"
Solution 2:
Ran into the same issue: TextBlob
's documentation seems to indicate that 2 steps are required to install textblob:
pip install -U textblob
and
python -m textblob.download_corpora
After doing that, it worked for me. Documentation found at https://textblob.readthedocs.io/en/dev/
Solution 3:
You need to install the package according to your python-version, in my case (Python3) I use the incorrect one, because the first time was:
!pip install textblob
And the correct instruction is:
!pip3 install textblob
Solution 4:
It is required to download and import library
!pip install textblob #for installationimport textblob #to importfrom textblob import TextBlob
Solution 5:
The installation of the package not completed. You should install the package properly.
pip install -U textblob
please refer the following link for more information readthedocs
Post a Comment for "No Module Named Textblob"