Python not working on V5 brain

One of my teams has a brain that suddenly stopped running their Python code. C++ seems to work fine. Unplugged devices from all the ports and ran the simplest program I could think of:

# Library imports
from vex import *

# Begin project code

Nothing prints. No red error box. Just the “Vexcode Project” screen with the timer counting up. The same program runs correctly on a different brain and prints.

This C++ version works fine:

#include "vex.h"
// Allows for easier use of the VEX Library
using namespace vex;

int main() {

I used V5 Firmware Utility to reinstall the latest firmware. Wondering if some Python files got corrupted? Is there a way to reinstall those? Or something else we should try?

Try “Delete Programs…” from the settings screen (which will delete all user programs from the brain) and then try again, VEXcode should reload the Python VM, perhaps that was corrupted in some way.


That worked. Thank you!