Isaac SDK - how to include Python PyPi module in a package

Hello,
I 'm trying to use EasyOCR library inside my Isaac package but I cannot find a way to include it into Bazel BUILD file. EasyOCR is a python package that has a lot of external dependencies. How it can be done?

Python packages in Bazel are always tricky. There are “experimental” rules_python that support the pip_install target which you use to setup EasyOCR and then depend on the target in your files here.

1 Like

Thank you. It worked this way

1 Like