Hi Amin,
Code Verification and Validation with PIL does not seem to be supported for the “LEGO MINDSTORMS EV3 Hardware” due to which you are facing the error. However, you may perform “Monitor and Tune (External Mode) simulations” to tune parameters and monitor a model running on your target hardware as well as “Run Model on EV3 Hardware” using “Build, Deploy & Start”.
For further information, please refer to the links below: