plotly / dash-component-boilerplate

Get started creating your own Dash components here.
269 stars 182 forks source link

ImportError: No module named dash #13

Closed nicolaskruchten closed 5 years ago

nicolaskruchten commented 6 years ago

The readme doesn't say anything about installing Dash, and there is no requirements.txt :)

nk$ npm run build:py                                                         

> my-dash-component@0.0.1 build:py /Users/nicolas/plotly/dash-component-boilerplate
> node ./extract-meta src/lib/components > my_dash_component/metadata.json && copyfiles package.json my_dash_component && python -c "import dash; dash.development.component_loader.generate_classes('my_dash_component', 'my_dash_component/metadata.json')"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named dash
T4rk1n commented 6 years ago

I added a requirements.txt and instructions in #14