module and namespace

E

Egon Frerich

I have a problem with a namespace. There is a module mptt (actally from
Django). If I import this module with the interpreter it tells me the
namespace:

Python 3.3.5 (default, Apr 12 2014, 23:34:20)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
If I import mptt in my program then there is no ImportError but the
namespace is broken:

<module 'mptt' (namespace)>

(This is the output with print after the import).

What is the meaning? When does this happened?

Egon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top