snipsco / snips-nlu

Snips Python library to extract meaning from text
https://snips-nlu.readthedocs.io
Apache License 2.0
3.9k stars 512 forks source link

Error on python -m snips_nlu download en #892

Open Junnian opened 3 years ago

Junnian commented 3 years ago

Traceback (most recent call last): File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\urllib3\connectionpool.py", line 706, in urlopen chunked=chunked, File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\urllib3\connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\urllib3\connectionpool.py", line 1010, in _validate_conn conn.connect() File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\urllib3\connection.py", line 421, in connect tls_in_tls=tls_intls, File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\urllib3\util\ssl.py", line 429, in ssl_wrap_socket sock, context, tls_in_tls, server_hostname=serverhostname File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\urllib3\util\ssl.py", line 472, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "D:\Users*\Anaconda3\envs\nlu\lib\ssl.py", line 412, in wrap_socket session=session File "D:\Users*\Anaconda3\envs\nlu\lib\ssl.py", line 850, in _create self.do_handshake() File "D:\Users*\Anaconda3\envs\nlu\lib\ssl.py", line 1108, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\Users\80303762\Anaconda3\envs\nlu\lib\site-packages\requests\adapters.py", line 449, in send timeout=timeout File "D:\Users\80303762\Anaconda3\envs\nlu\lib\site-packages\urllib3\connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "D:\Users\80303762\Anaconda3\envs\nlu\lib\site-packages\urllib3\util\retry.py", line 573, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /snipsco/snips-nlu-language-resources/master/shortcuts.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\Users\80303762\Anaconda3\envs\nlu\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "D:\Users\80303762\Anaconda3\envs\nlu\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "D:\Users\80303762\Anaconda3\envs\nlu\lib\site-packages\snips_nlu__main__.py", line 6, in main() File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\snips_nlu\cli__init.py", line 52, in main args.func(args) File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\snips_nlu\cli\download.py", line 28, in _download args_namespace.extra_pip_args) File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\snips_nlu\cli\download.py", line 53, in download download_from_resource_name(resource_name, pip_args) File "D:\Users\\Anaconda3\envs\nlu\lib\site-packages\snips_nlu\cli\download.py", line 61, in download_from_resource_name shortcuts = get_json(about.shortcuts__, "Resource shortcuts") File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\snips_nlu\cli\utils.py", line 72, in get_json r = requests.get(url) File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\requests\api.py", line 76, in get return request('get', url, params=params, kwargs) File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\requests\api.py", line 61, in request return session.request(method=method, url=url, kwargs) File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\requests\sessions.py", line 542, in request resp = self.send(prep, send_kwargs) File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\requests\sessions.py", line 655, in send r = adapter.send(request, kwargs) File "D:\Users*\Anaconda3\envs\nlu\lib\site-packages\requests\adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /snipsco/snips-nlu-language-resources/master/shortcuts.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)')))