Pycharm does not reconize my pytorch


I built my venv by using pip in my command prompt.

when I tried easyocr and pytorch on pycharm detects their imports as errors, while if I run my script on the same venv on cmd or jupyter notebook it works fine.

even when I installed the package using quick fix pycharm did not recognize cuda for easyocr although on the same script I am using tensorflow-gpu, I tried to reinstall pytorch and easy ocr with pycharm terminal and shows that they were install but still pycharm could not recogize them.

thank you for your time.