python - Installing django-cms on windows -
running pip install django===1.4 django-cms south
on windows machine, per instructions found here returns error:
downloading/unpacking django==1.4 downloading django-1.4.tar.gz (7.6mb): 7.6mb downloaded running setup.py egg_info package django downloading/unpacking django-cms running setup.py egg_info package django-cms traceback (most recent call last): file "<string>", line 16, in <module> file "c:\users\shadow\appdata\local\temp\pip-build-shadow\django-cms\setup .py", line 3, in <module> import cms file "cms\__init__.py", line 7, in <module> if 'cms' in settings.installed_apps: file "c:\python27\lib\site-packages\django\conf\__init__.py", line 53, in __getattr__ self._setup(name) file "c:\python27\lib\site-packages\django\conf\__init__.py", line 46, in _setup % (desc, environment_variable)) django.core.exceptions.improperlyconfigured: requested setting installed_app s, settings not configured. must either define environment varia ble django_settings_module or call settings.configure() before accessing setting s. complete output command python setup.py egg_info: traceback (most recent call last): file "<string>", line 16, in <module> file "c:\users\shadow\appdata\local\temp\pip-build-shadow\django-cms\setup.py" , line 3, in <module> import cms file "cms\__init__.py", line 7, in <module> if 'cms' in settings.installed_apps: file "c:\python27\lib\site-packages\django\conf\__init__.py", line 53, in __ge tattr__ self._setup(name) file "c:\python27\lib\site-packages\django\conf\__init__.py", line 46, in _set % (desc, environment_variable)) django.core.exceptions.improperlyconfigured: requested setting installed_apps, b ut settings not configured. must either define environment variable django_settings_module or call settings.configure() before accessing settings. ---------------------------------------- command python setup.py egg_info failed error code 1 in c:\users\shadow\app data\local\temp\pip-build-shadow\django-cms storing complete log in c:\users\shadow\pip\pip.log
django , apache , else running fine. far know, sort of error should occur when you're trying run django, not trying install plugin/app. idea causing error?
this known issue , fixed 2.3.6 release in next 3 days. upcoming 2.4 release not have issue.
Comments
Post a Comment