urllib.error.HTTPError: HTTP Error 401: {“detail”:“Invalid authentication credentials”}
from hanlp_restful import HanLPClient
auth不填则匿名,zh中文,mul多语种
HanLP = HanLPClient(‘https://www.hanlp.com/api’, auth=‘我的密钥’, language=‘en’)
是怎么回事呢?
urllib.error.HTTPError: HTTP Error 401: {“detail”:“Invalid authentication credentials”}
from hanlp_restful import HanLPClient
HanLP = HanLPClient(‘https://www.hanlp.com/api’, auth=‘我的密钥’, language=‘en’)
是怎么回事呢?