Connecting to local DB via python bolt: Episode II

I read this: Connecting to local database via Python Bolt

I am new to neo4j and am struggling to connect to a local neo4j DB.
I was able to set a new password for the neo4j

What am I doing wrong?

When I run this:

from neo4j import GraphDatabase, basic_auth

_driver = GraphDatabase.driver('bolt://localhost:7687', auth=basic_auth('neo4j', 'pwd'))

print('hurray; connected!')

I get this:

Traceback (most recent call last):
  File "", line 3, in <module>
    _driver = GraphDatabase.driver('bolt://localhost:7687', auth=basic_auth('neo4j', 'pwd'))
  File "C:\Users\Lee\Documents\coding\Environments\OpalDesk\lib\site-packages\neo4j\", line 120, in driver
    return Driver(uri, **config)
  File "C:\Users\Lee\Documents\coding\Environments\OpalDesk\lib\site-packages\neo4j\", line 161, in __new__
    return subclass(uri, **config)
  File "C:\Users\Lee\Documents\coding\Environments\OpalDesk\lib\site-packages\neo4j\", line 235, in __new__
  File "C:\Users\Lee\Documents\coding\Environments\OpalDesk\lib\site-packages\neobolt\", line 715, in acquire
    return self.acquire_direct(self.address)
  File "C:\Users\Lee\Documents\coding\Environments\OpalDesk\lib\site-packages\neobolt\", line 608, in acquire_direct
    connection = self.connector(address, error_handler=self.connection_error_handler)
  File "C:\Users\Lee\Documents\coding\Environments\OpalDesk\lib\site-packages\neo4j\", line 232, in connector
    return connect(address, **dict(config, **kwargs))
  File "C:\Users\Lee\Documents\coding\Environments\OpalDesk\lib\site-packages\neobolt\", line 972, in connect
    raise last_error
  File "C:\Users\Lee\Documents\coding\Environments\OpalDesk\lib\site-packages\neobolt\", line 963, in connect
    s, der_encoded_server_certificate = _secure(s, host, security_plan.ssl_context, **config)
  File "C:\Users\Lee\Documents\coding\Environments\OpalDesk\lib\site-packages\neobolt\", line 854, in _secure
    s = ssl_context.wrap_socket(s, server_hostname=host if HAS_SNI and host else None)
  File "c:\users\lee\appdata\local\programs\python\python37\Lib\", line 412, in wrap_socket
  File "c:\users\lee\appdata\local\programs\python\python37\Lib\", line 853, in _create
  File "c:\users\lee\appdata\local\programs\python\python37\Lib\", line 1117, in do_handshake
OSError: [Errno 0] Error

The python driver requires encryption.

This issue is the same as mine:

His fix is to disable encryption. I'll probably do that for now.

A safer fix is to enable and configure an SSL policy, as suggested here: