I am getting the following errors when trying to run a piece of python code:
import: unable to open X server `\' @ error/import.c/ImportImageCommand/366. fro
Check whether your #! line is in the first line of your python file. I got this error because I put this line into the second line of the file.