я получаю следующую ошибку
Traceback (most recent call last):
File "C:\Python38\lib\site-packages\SPARQLWrapper\Wrapper.py", line 1073, in _query
response = urlopener(request)
File "C:\Python38\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Python38\lib\urllib\request.py", line 531, in open
response = meth(req, response)
File "C:\Python38\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
File "C:\Python38\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
File "C:\Python38\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
File "C:\Python38\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\projects\waternet\data rwzi weesp\wotl-properties.py", line 28, in <module>
results = sparql.query().convert()
File "C:\Python38\lib\site-packages\SPARQLWrapper\Wrapper.py", line 1107, in query
return QueryResult(self._query())
File "C:\Python38\lib\site-packages\SPARQLWrapper\Wrapper.py", line 1081, in _query
raise Unauthorized(e.read())
SPARQLWrapper.SPARQLExceptions.Unauthorized: Unauthorized: access is denied due to invalid credentials (unauthorized). Check the credentials.