Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLRS (v0.4.0) has incorrect PYTHONPATH #235

Open
poussa opened this issue Aug 29, 2019 · 2 comments
Open

DLRS (v0.4.0) has incorrect PYTHONPATH #235

poussa opened this issue Aug 29, 2019 · 2 comments

Comments

@poussa
Copy link

poussa commented Aug 29, 2019

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

@joselamego
Copy link
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.

@poussa
Copy link
Author

poussa commented Sep 2, 2019

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants