Starting salt-master daemon: Traceback (most recent call last):


 "/usr/bin/salt-master", line 22, in <module>

salt_master()


 "/usr/lib/python2.7/site-packages/salt/scripts.py", line 90, in salt_master

import salt.cli.daemons


 "/usr/lib/python2.7/site-packages/salt/cli/daemons.py", line 43, in <module>

from salt.utils import migrations


 "/usr/lib/python2.7/site-packages/salt/utils/migrations.py", line 12, in <module>

import salt.syspaths as syspaths


 "/usr/lib/python2.7/site-packages/salt/syspaths.py", line 78, in <module>

SHARE_DIR = __generated_syspaths.SHARE_DIR
AttributeError: 'module' object has no attribute 'SHARE_DIR'

Traceback (most recent call last):


 "/Users/pavelkonan/anaconda3/bin/jupyter-notebook", line 6, in <module>

sys.exit(notebook.notebookapp.main())


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance

return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 652, in launch_instance

app.initialize(argv)


 "<decorator-gen-7>", line 2, in initialize


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error

return method(app, *args, **kwargs)


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1071, in initialize

self.init_webapp()


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 892, in init_webapp

self.jinja_environment_options


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 132, in __init__

default_url, settings_overrides, jinja_env_options)


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 202, in init_settings

nbextensions_path=ipython_app.nbextensions_path,


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 643, in nbextensions_path

from IPython.paths import get_ipython_dir


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/__init__.py", line 48, in <module>

from .core.application import Application


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/core/application.py", line 25, in <module>

from IPython.core import release, crashhandler


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/core/crashhandler.py", line 28, in <module>

from IPython.core import ultratb


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/core/ultratb.py", line 119, in <module>

from IPython.core import debugger


 "/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/core/debugger.py", line 45, in <module>

from pdb import Pdb as OldPdb


 "/Users/pavelkonan/anaconda3/lib/python3.5/pdb.py", line 135, in <module>

class Pdb(bdb.Bdb, cmd.Cmd):
AttributeError: module 'cmd' has no attribute 'Cmd'
