cannot import name .....

HMS Surprise john at datavoiceint.com
Thu May 3 12:21:01 EDT 2007


Greetings.

What is the implication of the error message 'cannot import
name .....'?  It occurs when executing the line:

    from nBaseTest import nBaseTest

The file exists and the class within it exists. Changing it to

    from nBaseTest import x

gives me the same result so it is as though the class does not exist.
Thought there may be a problem with the nBaseTest file but standalone
it runs fine.

Thus my earlier question. Maybe I should ask where find detailed error
information.

Thanks,

jvh




More information about the Python-list mailing list