fohrloop / dash-uploader

The alternative upload component for python Dash applications.
MIT License
144 stars 30 forks source link

Can't import the package #9

Closed capem closed 4 years ago

capem commented 4 years ago
File "C:\Users\****\Miniconda3\envs\dash-env\lib\site-packages\dash_uploader\configure_upload.py", line 8, in <module>
    from dash.dependencies import Input, Output, State, ALL
ImportError: cannot import name 'ALL' from 'dash.dependencies' (C:\Users\****\Miniconda3\envs\dash-env\lib\site-packages\dash\dependencies.py)
fohrloop commented 4 years ago

Thanks for reporting. What is the output of

import dash
print(dash.__version__)

i.e. what is the version of dash you are using?

capem commented 4 years ago

import dash print(dash.version) 1.9.1

capem commented 4 years ago

Well I just removed the ALL from the imports in the 'configure_upload.py' file and it worked.

fohrloop commented 4 years ago

Yeah seems that ALL was added to dash.dependencies at version 1.11.0. The import was unnecessary so I just removed it.

This is now fixed in dash-uploader 0.3.1.