Traceback (most recent call last):


 "C:\Users\saiki\Documents\Learning\spark-2.4.5-bin-hadoop2.7\python\pyspark\shell.py", line 31, in <module>

from pyspark import SparkConf


 "C:\Users\saiki\Documents\Learning\spark-2.4.5-bin-hadoop2.7\python\pyspark\__init__.py", line 51, in <module>

from pyspark.context import SparkContext


 "C:\Users\saiki\Documents\Learning\spark-2.4.5-bin-hadoop2.7\python\pyspark\context.py", line 31, in <module>

from pyspark import accumulators


 "C:\Users\saiki\Documents\Learning\spark-2.4.5-bin-hadoop2.7\python\pyspark\accumulators.py", line 97, in <module>

from pyspark.serializers import read_int, PickleSerializer


 "C:\Users\saiki\Documents\Learning\spark-2.4.5-bin-hadoop2.7\python\pyspark\serializers.py", line 72, in <module>

from pyspark import cloudpickle


 "C:\Users\saiki\Documents\Learning\spark-2.4.5-bin-hadoop2.7\python\pyspark\cloudpickle.py", line 145, in <module>

_cell_set_template_code = _make_cell_set_template_code()


 "C:\Users\saiki\Documents\Learning\spark-2.4.5-bin-hadoop2.7\python\pyspark\cloudpickle.py", line 126, in _make_cell_set_template_code

return types.CodeType(
TypeError: an integer is required (got type bytes)
Traceback (most recent call last):


 "/home/amn/heterogeneous_groups/lib/pydantictest.py", line 30, in <module>

path_data = PathData('world', base_path=10)


 "<string>", line 4, in __init__


 "pydantic/dataclasses.py", line 111, in pydantic.dataclasses._process_class._pydantic_post_init

# +=======+=======+=======+


 "/home/amn/heterogeneous_groups/lib/pydantictest.py", line 21, in __post_init_post_parse__

self.path = base_path / self.path
TypeError: unsupported operand type(s) for /: 'int' and 'PosixPath'
