← Back to team overview

graphite-dev team mailing list archive

Re: [Question #241950]: ImportError: No module named defaults with python27 SCL

 

Question #241950 on Graphite changed:
https://answers.launchpad.net/graphite/+question/241950

Maxim posted a new comment:
I also created a database strucrute like this

cd /opt/graphite/webapp/graphite && scl enable python27 'python manage.py syncdb'
Creating tables ...
Creating table account_profile
Creating table account_variable
Creating table account_view
Creating table account_window
Creating table account_mygraph
Creating table dashboard_dashboard_owners
Creating table dashboard_dashboard
Creating table events_event
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_user_permissions
Creating table auth_user
Creating table django_session
Creating table django_admin_log
Creating table django_content_type
Creating table tagging_tag
Creating table tagging_taggeditem

You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Username (leave blank to use 'root'): 
Email address: 
Password: 
Password (again): 
Superuser created successfully.
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.