Import can not be resolved

Daniel Baxter 0 Reputation points
2023-05-01T03:50:36.3333333+00:00

I am trying to use the cvzone library. I have installed it in the correct library and all other modules I am using work fine however vs studio will not recgonise this one. See attached photo.

User's image

Developer technologies Visual Studio Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-05-02T03:39:33.0766667+00:00

    Hi @Daniel Baxter, 

    Welcome to Microsoft Q&A! 

    Please try to change your Python Environment to Python 3.9 or 3.10.

    Then, try to install opencv and mediapipe dependency packages:

    pip install opencv-python

    pip install mediapipe 

    If it doesn’t work, please report to dedicated cvzone forum.

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.