SyntaxError: multiple statements found while compiling a single statement

I’m in Python 3.3 and I’m only entering these 3 lines:

import sklearn as sk
import numpy as np
import matplotlib.pyplot as plt

I’m getting this error:

SyntaxError: multiple statements found while compiling a single statement

What could I be doing wrong?

Edit: If anyone comes across this question, the solution I found was to download Idlex and use its IDLE version, which allows multiple lines.

Screenshot: http://imgur.com/AJSrhhD

Leave a Comment