Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

DLRS (v0.4.0) has incorrect PYTHONPATH #235

Open

Description

@poussa
root@0d038e7669f4/workspace # echo $PYTHONPATH
/usr/local/lib/openvino/inference_engine/:
root@0d038e7669f4/workspace # ie_serving
Traceback (most recent call last):
  File "/usr/bin/ie_serving", line 6, in <module>
    from ie_serving.main import main
  File "/usr/lib/python3.7/site-packages/ie_serving/main.py", line 22, in <module>
    from ie_serving.models.model_builder import ModelBuilder
  File "/usr/lib/python3.7/site-packages/ie_serving/models/model_builder.py", line 18, in <module>
    from ie_serving.models.gs_model import GSModel
  File "/usr/lib/python3.7/site-packages/ie_serving/models/gs_model.py", line 18, in <module>
    from ie_serving.models.ir_engine import IrEngine
  File "/usr/lib/python3.7/site-packages/ie_serving/models/ir_engine.py", line 19, in <module>
    from openvino.inference_engine import IENetwork, IEPlugin
ModuleNotFoundError: No module named 'openvino'
root@0d038e7669f4/workspace # export PYTHONPATH=/usr/local/lib
root@0d038e7669f4/workspace # ie_serving
[finds openvino and starts]

&& echo "export PYTHONPATH=/usr/local/lib/openvino/inference_engine/:$PYTHONPATH" >> /.bashrc

Activity

  1. joselamego commented on Aug 30, 2019

    @joselamego
    Contributor

    @poussa: Thanks for your report.
    The PYTHONPATH is fixed in image v0.4.1. Please pull that one and let me know if you encounter further errors:

    docker pull clearlinux/stacks-dlrs-mkl:v0.4.1
    

    Note that updating the Dockerfile at dockerfiles/stacks/dlrs/mkl is WIP.

  2. poussa commented on Sep 2, 2019

    @poussa
    Author

    Fixed and verified in the 0.4.1 image. Still waiting to see the fix in the src tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions