ImportError: No module named myapp


with the new version of PyCharm (2.5.1), I still have the following error message when I run an operation like syncdb,inspectdb, ...

runnerw.exe C:\Python27\python.exe "C:\Program Files (x86)\JetBrains\PyCharm 2.5.1\helpers\pycharm\" syncdb C:/Alpha-Chrome/mysapp/mysapp

Traceback (most recent call last):

  File "C:\Program Files (x86)\JetBrains\PyCharm 2.5.1\helpers\pycharm\", line 20, in <module>

    run_module(manage_file, None, '__main__', True)

  File "C:\Python27\Lib\", line 170, in run_module

    mod_name, loader, code, fname = _get_module_details(mod_name)

  File "C:\Python27\Lib\", line 101, in _get_module_details

    loader = get_loader(mod_name)

  File "C:\Python27\Lib\", line 456, in get_loader

    return find_loader(fullname)

  File "C:\Python27\Lib\", line 466, in find_loader

    for importer in iter_importers(fullname):

  File "C:\Python27\Lib\", line 422, in iter_importers


ImportError: No module named myapp

the same operation on my old version 2.0 is no problem !

my environment is : Django on Google App Engine with Cloud SQL.

thank you in advance for your help.


Please sign in to leave a comment.