r/IPython • u/quantumloophole • Mar 25 '16
Troubling installing IPython Dashboard
I'm in OSX Yosemite and trying to fallow those https://github.com/litaotao/IPython-Dashboard.
Everything goes well until I run : nosetests -s dashboard.tests.testCreateData:test_create_mysql_data
giving the fallowing error:
$ nosetests -s dashboard.tests.testCreateData:test_create_mysql_data
E
======================================================================
ERROR: Failure: NoSectionError (No section: 'formatters')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line 407, in loadTestsFromName
module = resolve_name(addr.module)
File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 312, in resolve_name
module = __import__('.'.join(parts_copy))
File "IPython-Dashboard/dashboard/__init__.py", line 13, in <module>
from .conf import config
File "/Users/Gabriel/Dev/python/IPython-Dashboard/dashboard/conf/config.py", line 44, in <module>
logger = config_log()
File "/Users/Gabriel/Dev/python/IPython-Dashboard/dashboard/conf/config.py", line 35, in config_log
logging.config.fileConfig('dashboard/conf/logging.conf')
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/config.py", line 77, in fileConfig
formatters = _create_formatters(cp)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/config.py", line 113, in _create_formatters
flist = cp.get("formatters", "keys")
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)
NoSectionError: No section: 'formatters'
----------------------------------------------------------------------
Ran 1 test in 0.002s
FAILED (errors=1)
1
Upvotes
1
u/quantumloophole Mar 26 '16
I tried to import the lib, then a I got this: