Skip to content

AttributeError: module 'config' has no attribute 'MYSQL_USER' #79

@yucluo

Description

@yucluo

When I run python setup.py as instructed I get this error:

(base) Yuchens-Air-3:mpeds-coder yuchenluo$ python setup.py
Traceback (most recent call last):
File "/Users/yuchenluo/Desktop/mpeds-coder/setup.py", line 1, in
from database import db_session, init_db
File "/Users/yuchenluo/Desktop/mpeds-coder/database.py", line 7, in
(config.MYSQL_USER, config.MYSQL_PASS, config.MYSQL_DB, config.MYSQL_SOCK, 'utf8'),
AttributeError: module 'config' has no attribute 'MYSQL_USER'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions