如何使用importlib导入import_module?

时间:2019-07-25 09:18:43

标签: django python-importlib

C:\Users\admin\Desktop\projects\quote>python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
  File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line 2, in <module>
    from importlib import import_module
ImportError: cannot import name import_module

0 个答案:

没有答案