Closed Bug 1911347 Opened 6 months ago Closed 6 months ago

Categories

(Release Engineering :: General, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aglavic, Assigned: gbrown)

References

Details

I would like to have access to the cv2 library on try, and am requesting to have version 4.10.0.84 on pypi for mozilla-unified

https://pypi.org/project/opencv-python/

Blocks: 1898221
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED

Hi :geoff, I was trying to run a job that imports cv2 library on try and I got an error telling me that cv2 cannot be installed
https://treeherder.mozilla.org/jobs?repo=try&revision=935fa30b5d20fc42ed9cf49c15bcb21ee0f721a0&selectedTaskRun=GZ5p1YsxTJqOQFJq90aw_g.0
Is there something I need to do additionally to ensure the library is imported?

Flags: needinfo?(whole.grains)

You need to do something that is the equivalent of pip install opencv-python. You might be able to do that directly from your kind.yml or your .sh; you might do that with a requirements.txt file, but I don't see how that one in tools/lint/rst is related.

I see some mozperftest code uses install_package....that might be the best way for you. For example:

https://searchfox.org/mozilla-central/rev/4f853572bc85822005fc302549a7ecef32c6a2e7/python/mozperftest/mozperftest/system/pingserver.py#32

Flags: needinfo?(whole.grains)
You need to log in before you can comment on or make changes to this bug.