I am experiencing some problems using the TextBlob library. I'm trying to run a very simple piece of code like this:
from textblob import TextBlob
text = 'this is just a test'
blob = TextBlob(text)
blob.detect_language()
And it continually gives me this error:
/usr/lib/python3.7/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
647 class HTTPDefaultErrorHandler(BaseHandler):
648 def http_error_default(self, req, fp, code, msg, hdrs):
--> 649 raise HTTPError(req.full_url, code, msg, hdrs, fp)
650
651 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 404: Not Found
What is the problem? I have tried it on several devices and it gives me the same error every time.
HTTPError: HTTP Error 400: Bad Request
every time. I don't think its useful. – Polyvalent