- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Awais_Akhtar,
Thanks for reaching out. Firstly, make sure you are following all the system requirements to install the OpenVINO toolkit. Then, before running any OpenVINO script, make sure you are in the OpenVINO environment by running the setupvars.sh. Meanwhile, have you tried to reinstall the toolkit? I would advise you to reinstall the toolkit and follow all the steps carefully.
https://docs.openvinotoolkit.org/latest/openvino_docs_install_guides_installing_openvino_linux.html
If the issue persists after reinstallation, please share your system environment for us to test it on our side.
Regards,
Aznie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Awais_Akhtar,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Regards,
Aznie

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page