Python cupp py error. Python code is ran from a python shell or .