python - Django Web Development Server Not Working -


i'm trying hands upon django , started , frankly speaking i'm beginner @ this. encountered problem linked settings guess i'm not able understand , solve problem. whenever write

python manage.py runserver 

on command line, following error.

    traceback (most recent call last):   file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\auth\p assword_validation.py", line 162, in __init__     common_passwords_lines = gzip.open(password_list_path).read().decode('utf-8' ).splitlines()   file "c:\python34\lib\gzip.py", line 52, in open     binary_file = gzipfile(filename, gz_mode, compresslevel)   file "c:\python34\lib\gzip.py", line 181, in __init__     fileobj = self.myfileobj = builtins.open(filename, mode or 'rb') filenotfounderror: [errno 2] no such file or directory: 'c:\\python34\\lib\\site -packages\\django-1.9-py3.4.egg\\django\\contrib\\auth\\common-passwords.txt.gz'   during handling of above exception, exception occurred:      traceback (most recent call last):       file "manage.py", line 10, in <module>         execute_from_command_line(sys.argv)       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\core\managemen     t\__init__.py", line 331, in execute_from_command_line         utility.execute()       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\core\managemen     t\__init__.py", line 305, in execute         django.setup()       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\__init__.py",     line 18, in setup         apps.populate(settings.installed_apps)       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\apps\registry.     py", line 115, in populate         app_config.ready()       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\admin\     apps.py", line 22, in ready         self.module.autodiscover()       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\admin\     __init__.py", line 26, in autodiscover         autodiscover_modules('admin', register_to=site)       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\utils\module_l     oading.py", line 50, in autodiscover_modules         import_module('%s.%s' % (app_config.name, module_to_search))       file "c:\python34\lib\importlib\__init__.py", line 109, in import_module         return _bootstrap._gcd_import(name[level:], package, level)       file "<frozen importlib._bootstrap>", line 2254, in _gcd_import       file "<frozen importlib._bootstrap>", line 2237, in _find_and_load       file "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked       file "<frozen importlib._bootstrap>", line 1200, in _load_unlocked       file "<frozen importlib._bootstrap>", line 1129, in _exec       file "<frozen importlib._bootstrap>", line 1471, in exec_module       file "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\auth\a     dmin.py", line 7, in <module>         django.contrib.auth.forms import (       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\auth\f     orms.py", line 261, in <module>         class setpasswordform(forms.form):       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\auth\f     orms.py", line 271, in setpasswordform         help_text=password_validation.password_validators_help_text_html())       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\auth\p     assword_validation.py", line 85, in password_validators_help_text_html         help_texts = password_validators_help_texts(password_validators)       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\auth\p     assword_validation.py", line 74, in password_validators_help_texts         password_validators = get_default_password_validators()       file "c:\python34\lib\functools.py", line 434, in wrapper         result = user_function(*args, **kwds)       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\auth\p     assword_validation.py", line 21, in get_default_password_validators         return get_password_validators(settings.auth_password_validators)       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\auth\p     assword_validation.py", line 32, in get_password_validators         validators.append(klass(**validator.get('options', {})))       file "c:\python34\lib\site-packages\django-1.9-py3.4.egg\django\contrib\auth\p     assword_validation.py", line 164, in __init__         open(password_list_path) f:     filenotfounderror: [errno 2] no such file or directory: 'c:\\python34\\lib\\site     -packages\\django-1.9-py3.4.egg\\django\\contrib\\auth\\common-passwords.txt.gz' 

i have tried settling in environment variable , sorts of things no end problem. please help!!!

django 1.9 not out yet. if new django, use latest release, 1.8.3.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -