SyntaxError: Non-ASCII character while importing RenderWindowInteractor.py
There is a unicode character within the top-level doc-string at line 43 in the following file: QVTKRenderWindowInteractor.py
Which causes the following error:
SyntaxError: Non-ASCII character '\xc3' in file /usr/local/opt/vtk/lib/python2.7/site-packages/vtkmodules/qt/QVTKRenderWindowInteractor.py on line 43, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
This error can be avoided if the encoding is defined at the top of this file by adding the following encoding hint:
The link in the above error explains the reason for this new requirement.