
Traceback (most recent call last):


 "/home/runner/work/poetry-test/poetry-test/.venv/bin/pip", line 8, in <module>

sys.exit(main())


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 73, in main

command = create_command(cmd_name, isolated=("--isolated" in cmd_args))


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 104, in create_command

module = importlib.import_module(module_path)


 "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/importlib/__init__.py", line 127, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 1014, in _gcd_import


 "<frozen importlib._bootstrap>", line 991, in _find_and_load


 "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 671, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 783, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 17, in <module>

from pip._internal.cli.req_command import RequirementCommand, with_cleanup


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 16, in <module>

from pip._internal.index.collector import LinkCollector


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_internal/index/collector.py", line 14, in <module>

from pip._vendor import html5lib, requests


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_vendor/requests/__init__.py", line 43, in <module>

from pip._vendor import urllib3


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_vendor/urllib3/__init__.py", line 7, in <module>

from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_vendor/urllib3/connectionpool.py", line 39, in <module>

from .response import HTTPResponse


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 156, in <module>

class HTTPResponse(io.IOBase):


 "/home/runner/work/poetry-test/poetry-test/.venv/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 389, in HTTPResponse

DECODER_ERROR_CLASSES += (brotli.error,)

AttributeError: module 'brotli' has no attribute 'error'

Traceback (most recent call last):


 "/usr/lib/spark/python/lib/pyspark.zip/pyspark/sql/context.py", line 433, in read

return DataFrameReader(self)


 "/usr/lib/spark/python/lib/pyspark.zip/pyspark/sql/readwriter.py", line 70, in __init__

self._jreader = spark._ssql_ctx.read()
AttributeError: 'JavaMember' object has no attribute 'read'
