Trying to start an instance of ShowBase

That exact code works for me. Is there any other code that you have around that? Perhaps you accidentally have an import of DirectStart in the same file, or are creating another instance of ShowBase in another module you have?