python - Django cannot find error: The module cannot be found, but it is in the file
三叔
三叔 2017-07-05 10:27:16
0
2
1049
python manage.py runserver

Error ImportError: No module named mns.account

I have a module here, but I can’t find the problem! ! !

三叔
三叔

reply all(2)
黄舟

Either use the directory where mns is located as the path for python to search for modules (suitable for development); or use relative paths to import modules in the same project (not recommended)

迷茫


The code I tested on git, this can be run on the server side, but errors will occur locally

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template