0

So I've been trying to install pycontractions to do some NLP work.

First error, Visual C++ required. Check that.

But still can't install pycontractions, as it expects language-check.

Per Unable to install pycontractions, I installed Java SDK 8?

Now, I'm getting Command errored out with exit status 1 and certificate not verified, but I have certifi installed and current.

ERROR: Command errored out with exit status 1:
 command: 'C:\Users\kurt\anaconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\kurt\\AppData\\Local\\Temp\\pip-install-cepdcg1a\\language-check_d365bbcf66804d939fe0f160feb7c81f\\setup.py'"'"'; __file__='"'"'C:\\Users\\kurt\\AppData\\Local\\Temp\\pip-install-cepdcg1a\\language-check_d365bbcf66804d939fe0f160feb7c81f\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\kurt\AppData\Local\Temp\pip-record-bkadn6w_\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\kurt\anaconda3\Include\language-check'
     cwd: C:\Users\kurt\AppData\Local\Temp\pip-install-cepdcg1a\language-check_d365bbcf66804d939fe0f160feb7c81f\
Complete output (50 lines):
Traceback (most recent call last):
  File "C:\Users\kurt\anaconda3\lib\urllib\request.py", line 1346, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "C:\Users\kurt\anaconda3\lib\http\client.py", line 1285, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "C:\Users\kurt\anaconda3\lib\http\client.py", line 1331, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "C:\Users\kurt\anaconda3\lib\http\client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "C:\Users\kurt\anaconda3\lib\http\client.py", line 1040, in _send_output
    self.send(msg)
  File "C:\Users\kurt\anaconda3\lib\http\client.py", line 980, in send
    self.connect()
  File "C:\Users\kurt\anaconda3\lib\http\client.py", line 1454, in connect
    self.sock = self._context.wrap_socket(self.sock,
  File "C:\Users\kurt\anaconda3\lib\ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "C:\Users\kurt\anaconda3\lib\ssl.py", line 1040, in _create
    self.do_handshake()
  File "C:\Users\kurt\anaconda3\lib\ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)

Per the same post, another option: language-check forked to language-python-tool. Unfortunately, it does not appear to be any use for pycontractions.

kurt
  • 35
  • 5

0 Answers0