title: Issues with Installing Spacy Library
body: <p>I am trying my hands on SPACY library for NLP and facing issues while installing. Following are the steps taken:</p>
  <pre><code>!pip3 install spacy
  !python -m spacy download en_core_web_sm 
  </code></pre>
  <p>I am getting following errors.</p>
  <p>What needs to be done to fix it?</p>
  <pre class="lang-none prettyprint-override"><code>2021-03-10 14:12:10.063797: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
  2021-03-10 14:12:10.064255: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
  Traceback (most recent call last):
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py&quot;, line 699, in urlopen
      httplib_response = self._make_request(
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py&quot;, line 382, in _make_request
      self._validate_conn(conn)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py&quot;, line 1010, in _validate_conn
      conn.connect()
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connection.py&quot;, line 411, in connect
      self.sock = ssl_wrap_socket(
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\ssl_.py&quot;, line 428, in ssl_wrap_socket
      ssl_sock = _ssl_wrap_socket_impl(
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\ssl_.py&quot;, line 472, in _ssl_wrap_socket_impl
      return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\ssl.py&quot;, line 500, in wrap_socket
      return self.sslsocket_class._create(
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\ssl.py&quot;, line 1040, in _create
      self.do_handshake()
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\ssl.py&quot;, line 1309, in do_handshake
      self._sslobj.do_handshake()
  ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py&quot;, line 439, in send
      resp = conn.urlopen(
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py&quot;, line 755, in urlopen
      retries = retries.increment(
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py&quot;, 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: /explosion/spacy-models/master/compatibility.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\runpy.py&quot;, line 193, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\runpy.py&quot;, line 86, in _run_code
      exec(code, run_globals)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\spacy\__main__.py&quot;, line 4, in &lt;module&gt;
      setup_cli()
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\spacy\cli\_util.py&quot;, line 68, in setup_cli
      command(prog_name=COMMAND)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py&quot;, line 829, in __call__
      return self.main(*args, **kwargs)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py&quot;, line 782, in main
      rv = self.invoke(ctx)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py&quot;, line 1259, in invoke
      return _process_result(sub_ctx.command.invoke(sub_ctx))
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py&quot;, line 1066, in invoke
      return ctx.invoke(self.callback, **ctx.params)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\click\core.py&quot;, line 610, in invoke
      return callback(*args, **kwargs)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\typer\main.py&quot;, line 497, in wrapper
      return callback(**use_params)  # type: ignore
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\spacy\cli\download.py&quot;, line 35, in download_cli
      download(model, direct, sdist, *ctx.args)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\spacy\cli\download.py&quot;, line 67, in download
      compatibility = get_compatibility()
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\spacy\cli\download.py&quot;, line 78, in get_compatibility
      r = requests.get(about.__compatibility__)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py&quot;, line 76, in get
      return request('get', url, params=params, **kwargs)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\api.py&quot;, line 61, in request
      return session.request(method=method, url=url, **kwargs)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py&quot;, line 542, in request
      resp = self.send(prep, **send_kwargs)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py&quot;, line 655, in send
      r = adapter.send(request, **kwargs)
    File &quot;C:\Users\bj\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py&quot;, line 514, in send
      raise SSLError(e, request=request)
  requests.exceptions.SSLError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /explosion/spacy-models/master/compatibility.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
  </code></pre>
  <p>I also tried this option, but this is not working:</p>
  <pre><code>PS C:\Users\bj&gt; pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.1.0/en_core_web_sm-2.1.0.tar.gz    
  </code></pre>
  <blockquote>
  <p>ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='github-releases.githubusercontent.com', port=443): Max retries exceeded with url: /84940268/85ec3200-48aa-11e9-9878-337412e36828?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210310%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20210310T163448Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=1f872d0cc838d305c2ab952ec0a685a22a62894f38e0bd03b6920692d9755cce&amp;X-Amz-SignedHeaders=host&amp;actor_id=0&amp;key_id=0&amp;repo_id=84940268&amp;response-content-disposition=attachment%3B%20filename%3Den_core_web_sm-2.1.0.tar.gz&amp;response-content-type=application%2Foctet-stream (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))</p>
  </blockquote>
  <p>Python version 3.8, Windows 10</p>