django - python manage.py: No module named 'admin_tools' -


i'm trying run command on django project:

python manage.py makemigrations --empty my_app_name 

to create new empty migration.

when try run command in poweshell, message:

ps c:\travail\workout\workout-backend\workout_rest> python manage.py makemigrations --empty record traceback (most recent call last):   file "manage.py", line 17, in <module>     execute_from_command_line(sys.argv)   file "c:\users\ben\appdata\local\programs\python\python35-32\lib\site-packages\django\core\management\__init__.py", line 367, in execute_from_command_line     utility.execute()   file "c:\users\ben\appdata\local\programs\python\python35-32\lib\site-packages\django\core\management\__init__.py", line 341, in execute     django.setup()   file "c:\users\ben\appdata\local\programs\python\python35-32\lib\site-packages\django\__init__.py", line 27, in setup     apps.populate(settings.installed_apps)   file "c:\users\ben\appdata\local\programs\python\python35-32\lib\site-packages\django\apps\registry.py", line 85, in populate     app_config = appconfig.create(entry)   file "c:\users\ben\appdata\local\programs\python\python35-32\lib\site-packages\django\apps\config.py", line 90, in create     module = import_module(entry)   file "c:\users\ben\appdata\local\programs\python\python35-32\lib\importlib\__init__.py", line 126, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   file "<frozen importlib._bootstrap>", line 986, in _gcd_import   file "<frozen importlib._bootstrap>", line 969, in _find_and_load   file "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked importerror: no module named 'admin_tools' 

the error is: importerror: no module named 'admin_tools' doing wrong?

i'm on windows 10 , i'm using vs2017 developp django app.

edit:

something strange. when run pip freeze, this:

$ pip freeze astroid==1.4.9 colorama==0.3.7 django==1.10.3 isort==4.2.5 lazy-object-proxy==1.2.2 mccabe==0.6.1 pylint==1.6.5 six==1.10.0 wrapt==1.10.10 

i don't know thoses packages. have no mention of astroid or mccabe in whole project. nor in site-package folder, nor in installed-app...


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -