Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import the package #9

Closed
capem opened this issue Aug 4, 2020 · 4 comments
Closed

Can't import the package #9

capem opened this issue Aug 4, 2020 · 4 comments

Comments

@capem
Copy link

capem commented Aug 4, 2020

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
Copy link
Owner

fohrloop commented Aug 4, 2020

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
Copy link
Author

capem commented Aug 4, 2020

import dash
print(dash.version)
1.9.1

@capem
Copy link
Author

capem commented Aug 4, 2020

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

@capem capem closed this as completed Aug 4, 2020
@fohrloop
Copy link
Owner

fohrloop commented Aug 4, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants