Code Monkey home page Code Monkey logo

Comments (13)

arokem avatar arokem commented on May 16, 2024

FWIW, this is on OSX, Python 3.6 installed from Anaconda

from dash.

jackluo avatar jackluo commented on May 16, 2024

Dash_core_components and dash_html_components are not meant to be be dependencies of dash. The rationale behind this is to allow users to make and customize their own React components and customize the look and feel of their apps without being forced to a specific UI set.

See here: https://plot.ly/dash/plugins

from dash.

arokem avatar arokem commented on May 16, 2024

Oh yeah - that makes sense. Still applies to dash_renderer, though?

from dash.

chriddyp avatar chriddyp commented on May 16, 2024

Oh yeah - that makes sense. Still applies to dash_renderer, though?

It doesn't. I've separated them as I didn't want to bump a new version of dash every time dash_renderer updates.

I could probably set the current install to use a range of dash_renderer versions, like: install_requires=dash_renderer>=0.7.1 & dash_renderer<0.8.0. If something breaks compatability between the API of the two packages, they'll get bumped together.

from dash.

arokem avatar arokem commented on May 16, 2024

Okidoke. Sorry for the noise -- feel free to close this.

from dash.

chriddyp avatar chriddyp commented on May 16, 2024

No worries! Thanks for bringing it up. I think that I'll keep them separate from now for a couple of more releases just so that I don't introduce a dependency that I'll regret later.

For now, I'll refer future google searchers to the installation section in the docs: https://plot.ly/dash/installation

from dash.

waynenilsen avatar waynenilsen commented on May 16, 2024

I think that dash_renderer still has to be a requirement for pip because of this line?

from dash.

traincroft avatar traincroft commented on May 16, 2024

I understand the rationale - but - how does a newbie install a workable version of dash (Windows 7)?

from dash.

waynenilsen avatar waynenilsen commented on May 16, 2024

just pip install dash_renderer it is a requirement to run this code as I pointed out above

from dash.

chriddyp avatar chriddyp commented on May 16, 2024

how does a newbie install a workable version of dash (Windows 7)?

https://dash.plot.ly/installation

from dash.

drakemax avatar drakemax commented on May 16, 2024

Hi , I have gone to https://dash.plot.ly/ and followed user guide to install & to run 1st example.
I am using python version 3.6.5 & PyCharm on windows 10
Initially I got a fault for it not having:
dash_renderer
so I used :
from dash import dash_renderer as dr

now I keep getting :
Traceback (most recent call last):
File "C:/Users/drake/Downloads/_Python/Dash1/app2.py", line 2, in
import dash_core_components as dcc
ModuleNotFoundError: No module named 'dash_core_components'

or for dash_html_components
depending on my order of installing.
I have uninstalled all of the installs:
pip install dash==0.21.1 # The core dash backend
pip install dash-renderer==0.12.1 # The dash front-end
pip install dash-html-components==0.10.1 # HTML components
pip install dash-core-components==0.22.1 # Supercharged components
pip install plotly --upgrade # Plotly graphing library used in examples

and even gone to github for versions of:
dash-html-components==0.10.1 # HTML components
dash-core-components==0.22.1 # Supercharged components

I just cannot get the first tutorial (nor the next couple) to work:
Generating HTML with Dash

Can you please advise where I should go for help on this please.

When I check >>> help ('modules') it shows all the above pip installs there.
But in the app.py file it just won't install:
dash_core_components or
dash_html_components

thank you in anticipation

from dash.

chriddyp avatar chriddyp commented on May 16, 2024

OK, I think I'm being too pedantic. Let's just include dash-renderer, dash-core-components, and dash-html-components in the package but keep references to these (with their version numbers!) in the installation instructions.

from dash.

chriddyp avatar chriddyp commented on May 16, 2024

Improved installation instructions here: plotly/dash-docs#163

from dash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.