Question: how to set python interpreter in pycharm in ubuntu?
Answer: Navigate to File | Project Structure Ctrl+Shift+Alt+S .
In the Project Structure dialog, select SDKs under the Platform Settings section, click. ... 
In the left-hand pane of the Add Python Interpreter dialog, select System Interpreter.