Skip to content

Reason: image not found #22

@Afuuu

Description

@Afuuu

According course vide from imooc, after installing some modules,key in: python run.py,It shows

MacBook-Pro:IPython-Dashboard fuchuang$ python run.py 
Traceback (most recent call last):
  File "run.py", line 4, in <module>
    from dashboard import app
  File "/Users/fuchuang/Documents/GitHub/IPython-Dashboard/dashboard/__init__.py", line 14, in <module>
    from .conf import config
  File "/Users/fuchuang/Documents/GitHub/IPython-Dashboard/dashboard/conf/config.py", line 44, in <module>
    logger = config_log()
  File "/Users/fuchuang/Documents/GitHub/IPython-Dashboard/dashboard/conf/config.py", line 34, in config_log
    from ..server.utils import Map
  File "/Users/fuchuang/Documents/GitHub/IPython-Dashboard/dashboard/server/utils.py", line 11, in <module>
    import MySQLdb
  File "/usr/local/lib/python3.6/site-packages/MySQLdb/__init__.py", line 18, in <module>
    import _mysql
ImportError: dlopen(/usr/local/lib/python3.6/site-packages/_mysql.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libmysqlclient.21.dylib
  Referenced from: /usr/local/lib/python3.6/site-packages/_mysql.cpython-36m-darwin.so
  Reason: image not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions