'RuntimeError: ; eglGetDisplay() returned error 0x3000ontext_egl.cc:157)

I am trying to run python code using mediapipe library. I am using mp.solutions.pose. I am getting the error in the line

pose = mpPose.Pose(min_detection_confidence=1)

I do not understand what it means. Kindly suggest solution.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source