Skip to content

[Python] Fixed issues in runtime wheel#4359

Merged
mryzhov merged 11 commits intoopenvinotoolkit:masterfrom
mryzhov:feature/wheel_fix
Feb 26, 2021
Merged

[Python] Fixed issues in runtime wheel#4359
mryzhov merged 11 commits intoopenvinotoolkit:masterfrom
mryzhov:feature/wheel_fix

Conversation

@mryzhov
Copy link
Copy Markdown
Contributor

@mryzhov mryzhov commented Feb 16, 2021

Details:

  • Corrected install component names for CPU and GPU plugins
  • Added rpaths for plugins
  • Corrected dll loading path on Windows
  • Added dll loading path for the new python module (offline_transformations)
  • Moved openvino.libs package to the openvino/libs subpackage. it fixes an installation issue with --user mode.

@mryzhov mryzhov requested a review from a team February 16, 2021 10:10
@mryzhov mryzhov added the category: Python API OpenVINO Python bindings label Feb 16, 2021
@mryzhov mryzhov added this to the 2021.3 milestone Feb 16, 2021
@mryzhov mryzhov requested a review from a team February 18, 2021 10:03
@mryzhov mryzhov requested review from GlebKazantaev, akuporos, dkurt and generalova-kate and removed request for a team February 18, 2021 13:01
@mryzhov mryzhov requested review from mmakridi and slyubimt February 20, 2021 08:16
@mryzhov mryzhov merged commit 2db51bb into openvinotoolkit:master Feb 26, 2021
openvino_dll = os.path.join(os.path.dirname(__file__), "..", "..", "..", "openvino.libs")
os.environ["PATH"] = os.path.abspath(openvino_dll) + ";" + os.environ["PATH"]
openvino_dlls = os.path.join(os.path.dirname(__file__), "..", "..", "openvino", "libs")
os.environ["PATH"] = os.path.abspath(openvino_dlls) + ";" + os.environ["PATH"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix for 49635 os.add_dll_directory(openvino_dlls)

@mryzhov mryzhov deleted the feature/wheel_fix branch August 30, 2021 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: Python API OpenVINO Python bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants