The last quotation mark is too much: print("CPU clock : "..cpu.clock") print("CPU cores : "..cpu.cores") print("CPU name : "..cpu.name") print("CPU hardware threads : "..cpu.threads")