Make sure you've chosen the right Interpreter path and check some other run settings. Go to Run > Edit Configurations... and check, if some configurations seem to be wrong.
EDIT: Under Linux, you have often Python 2 and 3 installed, be sure to pick the correct one.