Kunal Bambardekar
Kunal Bambardekar

Reputation: 61

Have installed Dash on macOS, but gives error while running the script

I am trying to run dash through Jupiter notebook on macOS. It does get imported and when I try to run app.run_server command it fails. it gives me the following error

[Errno 8] nodename nor servname provided, or not known

enter image description here

Upvotes: 3

Views: 1468

Answers (1)

Jacques Doan-Huu
Jacques Doan-Huu

Reputation: 71

Just specify the explicit host name in the app.py Default hostname causes such issue

if __name__ == '__main__':
    app.server.run(port=8000, host='127.0.0.1')

Upvotes: 7

Related Questions