python: install dash with conda

mcb picture mcb · Apr 2, 2018 · Viewed 22k times · Source

How can I install dash step-by-step? I'm really new at importing packages in python. I have python 3.6.4 on my computer and I'm trying to install the dash package, dash_core_components.

I tried to type in the anaconda prompt: conda install dash (not available for current channels) I also tried to install pip through conda: conda install pip then pip install dash ... but got an error also.

I'm really new and honestly don't really know what I'm doing. I got a pop-up from spyder when I open it saying to never use pip, it can break stuff. I don't understand why.

Answer

Paul D. picture Paul D. · Jun 18, 2018

Here are the commands to get conda to install dash:

conda install -c conda-forge dash-renderer
conda install -c conda-forge dash 
conda install -c conda-forge dash-html-components 
conda install -c conda-forge dash-core-components
conda install -c conda-forge plotly

If you go to the Anaconda site and search for the package they will give you the conda command to install the package.