Question: how to set python interpreter in pycharm ubuntu?
Answer: Navigate to File | Project Structure Ctrl+Shift+Alt+S . , and from the popup menu, choose Python SDK. In the left-hand pane of the Add Python Interpreter dialog, select System Interpreter. and in the Select Python Interpreter dialog that opens, choose the desired Python executable and click OK.