Configure the Model Optimizer step failed in OpenVino installation

Hi

I follow the instruction to install the openvino2021.4.582 from

https://docs.openvinotoolkit.org/2021./openvino_docs_install_guides_installing_openvino_linux.html

But my step failed at configuring the Model Optimizer in the command

sudo ./install_prerequisites.sh

This gives the error as

Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in run
    with self._build_session(options) as session:
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 69, in _build_session
    if options.cache_dir else None
  File "/usr/lib/python3.6/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not int
Error on or near line 69; exiting with status 1

I tried the tf2,onnx installed but error persist please tell how to resolve this thanks.