ImportError: No module named myapp

Dear,

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\django_manage.py" syncdb C:/Alpha-Chrome/mysapp/mysapp

Traceback (most recent call last):

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

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

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

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

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

    loader = get_loader(mod_name)

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

    return find_loader(fullname)

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

    for importer in iter_importers(fullname):

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

    __import__(pkg)

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.

Jacky

Please sign in to leave a comment.