Skip to content

创建了ini文件,无法运行(报错内容) #6

@noiwcdoge

Description

@noiwcdoge

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 464, in _make_request
File "urllib3\connectionpool.py", line 1093, in validate_conn
File "urllib3\connection.py", line 796, in connect
File "urllib3\connection.py", line 975, in ssl_wrap_socket_and_match_hostname
File "urllib3\util\ssl
.py", line 483, in ssl_wrap_socket
File "urllib3\util\ssl
.py", line 527, in _ssl_wrap_socket_impl
File "ssl.py", line 455, in wrap_socket
File "ssl.py", line 1041, in _create
File "ssl.py", line 1319, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "urllib3\connectionpool.py", line 787, in urlopen
File "urllib3\connectionpool.py", line 488, in _make_request
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "requests\adapters.py", line 644, in send
File "urllib3\connectionpool.py", line 841, in urlopen
File "urllib3\util\retry.py", line 535, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /stanfordnlp/stanza-en/resolve/v1.10.0/models/tokenize/combined.pt (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "argostranslate\sbd.py", line 91, in init
File "stanza\pipeline\core.py", line 252, in init
File "stanza\resources\common.py", line 540, in download_models
File "stanza\resources\common.py", line 157, in request_file
File "stanza\resources\common.py", line 119, in download_file
File "requests\api.py", line 73, in get
File "requests\api.py", line 59, in request
File "requests\sessions.py", line 589, in request
File "requests\sessions.py", line 703, in send
File "requests\adapters.py", line 675, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /stanfordnlp/stanza-en/resolve/v1.10.0/models/tokenize/combined.pt (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1010)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 89, in
File "translator\translate.py", line 70, in init
File "translator\argos.py", line 5, in init
File "argostranslate\translate.py", line 586, in get_installed_languages
File "argostranslate\translate.py", line 168, in init
File "argostranslate\sbd.py", line 107, in init
File "argostranslate\sbd.py", line 74, in _init_spacy_fallback
RuntimeError: SpaCy cache not initialized

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions