To configure a local Python interpreter
  1. In the Project Interpreter page of the project settings, click cogwheel_framed.
  2. In the drop-down list, choose Add local.

    py_interpreter_types

  3. In the Select Python Interpreter dialog box that opens, choose the desired Python executable, located inside the virtual environment folder, and click OK.