Sunday, February 25, 2018

Install Dash By Plotly On Anaconda3 Windows 10 | Feb 2018

#install_dash_on_anaconda,

Step A:
a.1 -> Start Anaconda Prompt
a.2 ->Type 'activate [fill in your_environment here]' (like ref a on image) to go your environment.
(In case you don't have any environment, simply install to (base))
a.3 -> pip install dash... (follow the installation page but type on the same line instead)
e.g.
what it shows on the installation page is as follows:

pip install dash==0.21.0  # The core dash backend
pip install dash-renderer==0.11.3  # The dash front-end
pip install dash-html-components==0.9.0  # HTML components
pip install dash-core-components==0.18.1  # Supercharged components
pip install plotly --upgrade  # Plotly graphing library used in examples 

Then you should type the following on your Anaconda Prompt environment (as shown on image ref (a):

pip install dash==0.21.0 dash-renderer==0.11.3 dash-html-components==0.9.0 dash-core-components==0.18.1 plotly -- upgrade

(All in one line, pay attention to space and strokes otherwise you won't install successfully.)

Step B:
Once you finish installation, you can check whether it's done successfully by
typing 'pip list' inside your environment (e.g. myTrade or base)

Step C:
You can now start coding Dash.
When you hit run (e.g. [F5] in Python Idle),
you will see [whatever server is running ] on your Anaconda Prompt (see ref (c) on image)

Then you need to open a new browser (as shown as ref (c) on image)
to view your coding results.


Click to view photos

No comments:

Post a Comment