'Python: Error importing textblob lib
Using windows 10 I've install textblob using "py -m pip install textblob". I can import textblob, or from textblob import blob,word But i cant: from textblobl import Textblob. The error i get is: Traceback (most recent call last): File "", line 1, in from textblob import Textblob ImportError: cannot import name 'Textblob'
Thanks.
Solution 1:[1]
You can try whit this:
from textblob import TextBlob
Solution 2:[2]
you can try change your file name TextBlob.py
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | EdoBen |
| Solution 2 | Younko |
