I have created a project with venv in pycharm community edition 2018.1. The interepreter path is below:
From pycharm terminal I have installed robot framework using "pip" from below path (starting path of terminal).
Now when I want to launch "python ride.py" from same path , its throwing below error:
(venv) D:\Py_projects\robotfw>python ride.py
C:\python37\python.exe: can't open file 'ride.py': [Errno 2] No such file or directory
When I launch it from venv interpreter path as below it works.
(venv) D:\Py_projects\robotfw\venv\Scripts>python ride.py
Thats because ride.py is not installed in default python environment. I want to know why python in pycharm venv project terminal is taking the default system python interpreter instead of the venv python interpreter. How can we configure python and pip command to take venv paths when you run from terminal in venv project.