Home > database >  Python: Why am I not able to use the functions of cv2?
Python: Why am I not able to use the functions of cv2?

Time:11-12

Picture about the problem

Can you help me why am I not able to use the functions of cv2? I installed opencv-contrib-python package and I have Python3.9 on my computer. I do not understand.

CodePudding user response:

You need to configure pycharm, press ctrl alt S to open the project settings click add and select your virtual env. This is better explained here: https://www.jetbrains.com/help/pycharm/creating-virtual-environment.html#python_create_virtual_env

CodePudding user response:

There is the virtual environment as you can see there's the venv library with all its necessary content.

  • Related