ImportError: cannot import name 'Dash' from partially initialized module 'dash' (most likely due to a circular import)
Dash from partially initialized module 'dash' Error came due to the version conflict with your Python version dash
No worry make it easy to upgrade the dash by pip or pip3 commands ;once you upgrade the Dash >2.0.0 and delete the dash related files like dash.cpython-311.pyc from __pycache__ folder .
Open your terminal and RUN the below commands.
#uninstall old version
pip uninstall dash
Or
pip3 uninstall dash
#install latest version
pip install dash --upgrade
python -m pip install dash --upgrade
Or
pip3 install dash --upgrade
python3 -m pip install dash --upgrade
It's working Thanks 👍
ReplyDelete