title: Pycharm - SyntaxError: Non-UTF-8 code starting with '\x80'
body: <p><a href="https://i.stack.imgur.com/882yO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/882yO.png" alt="enter image description here"></a></p>
  
  <p>I am trying to open project in PyCharm which includes simple </p>
  
  <p>virtual environment(python 3) and test.py </p>
  
  <p>after opening it in PyCharm I've configured python interpreter to virtual environments Python 3.</p>
  
  <p>then after running it in PyCharm I get the following error:</p>
  
  <blockquote>
    <p>SyntaxError: Non-UTF-8 code starting with '\x80' in file
    /home/ubuntu/Downloads/PythonDemo/PythonDemo/venv_3/bin/python3 on
    line 2, but no encoding declared; see
    <a href="http://python.org/dev/peps/pep-0263/" rel="noreferrer">http://python.org/dev/peps/pep-0263/</a> for details</p>
  </blockquote>
  
  <p>How to resolve this issue?</p>