Unable to Upgrade any package using pip

Hi everyone Im unable to upgrade any package or uninstall it using pip,Python version and pip version are up-to-date.Please kindly provide any solution

E:\test_code_automation>pip3 install --upgrade pandas
Requirement already satisfied: pandas in c:\users\sarankumar\appdata\local\programs\python\python312\lib\site-packages (2.2.1)
WARNING: Cache entry deserialization failed, entry ignored
Collecting pandas
WARNING: Cache entry deserialization failed, entry ignored
WARNING: Cache entry deserialization failed, entry ignored
Downloading pandas-2.2.2-cp312-cp312-win_amd64.whl.metadata (19 kB)
Requirement already satisfied: numpy>=1.26.0 in c:\users\sarankumar\appdata\local\programs\python\python312\lib\site-packages (from pandas) (1.26.4)
Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\sarankumar\appdata\local\programs\python\python312\lib\site-packages (from pandas) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\users\sarankumar\appdata\local\programs\python\python312\lib\site-packages (from pandas) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in c:\users\sarankumar\appdata\local\programs\python\python312\lib\site-packages (from pandas) (2024.1)
Requirement already satisfied: six>=1.5 in c:\users\sarankumar\appdata\local\programs\python\python312\lib\site-packages (from python-dateutil>=2.8.2->pandas) (1.16.0)
WARNING: Cache entry deserialization failed, entry ignored
WARNING: Cache entry deserialization failed, entry ignored
Downloading pandas-2.2.2-cp312-cp312-win_amd64.whl (11.5 MB)
---------------------------------------- 11.5/11.5 MB 2.4 MB/s eta 0:00:00
Installing collected packages: pandas
Attempting uninstall: pandas
Found existing installation: pandas 2.2.1
ERROR: Exception:
Traceback (most recent call last):
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\cli\base_command.py”, line 180, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\cli\req_command.py”, line 245, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\commands\install.py”, line 452, in run
installed = install_given_reqs(
^^^^^^^^^^^^^^^^^^^
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\req_init_.py”, line 67, in install_given_reqs
uninstalled_pathset = requirement.uninstall(auto_confirm=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\req\req_install.py”, line 724, in uninstall
uninstalled_pathset = UninstallPathSet.from_dist(dist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\req\req_uninstall.py”, line 534, in from_dist
for path in uninstallation_paths(dist):
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\req\req_uninstall.py”, line 46, in unique
for item in fn(*args, **kw):
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\req\req_uninstall.py”, line 72, in uninstallation_paths
entries = dist.iter_declared_entries()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\metadata\base.py”, line 519, in iter_declared_entries
self._iter_declared_entries_from_record()
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\metadata\base.py”, line 480, in _iter_declared_entries_from_record
text = self.read_text(“RECORD”)
^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sarankumar\AppData\Roaming\Python\Python312\site-packages\pip_internal\metadata\importlib_dists.py”, line 192, in read_text
content = self.dist.read_text(str(path))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\sarankumar\AppData\Local\Programs\Python\Python312\Lib\importlib\metadata_init
.py", line 818, in read_text
return self._path.joinpath(filename).read_text(encoding=‘utf-8’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sarankumar\AppData\Local\Programs\Python\Python312\Lib\pathlib.py”, line 1028, in read_text
return f.read()
^^^^^^^^
File “”, line 322, in decode
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x9b in position 0: invalid start byte
WARNING: Cache entry deserialization failed, entry ignored