Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on python -m snips_nlu download en #892

Open
Junnian opened this issue Dec 14, 2020 · 0 comments
Open

Error on python -m snips_nlu download en #892

Junnian opened this issue Dec 14, 2020 · 0 comments
Labels

Comments

@Junnian
Copy link

Junnian commented Dec 14, 2020

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_in_tls,
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=server_hostname
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)')))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant