dosubot[bot] commented on issue #30734:
URL: https://github.com/apache/superset/issues/30734#issuecomment-2442554875
<!-- Greeting -->
Hey @priyank-stack! I'm here to help you with any bugs, questions, or
contributions you have. Let's tackle this together! 😊
<!-- Answer -->
The error you're encountering, "ModuleNotFoundError: No module named
'sqlalchemy.sql._typing'," is likely related to a compatibility issue with the
SQLAlchemy version you are using. Apache Superset 4.0.2 requires SQLAlchemy
version 1.4.x, but it seems there might be a mismatch or an issue with the
specific version you have installed.
Here are some steps you can take to resolve this issue:
1. **Check SQLAlchemy Version**: Ensure that you are using a compatible
version of SQLAlchemy. Superset 4.0.2 requires SQLAlchemy version 1.4.x. You
currently have version 1.4.54 installed, which should be compatible, but there
might be a specific issue with this version.
2. **Reinstall SQLAlchemy**: Try reinstalling SQLAlchemy to ensure that all
modules are correctly installed. You can do this by running:
```bash
pip uninstall sqlalchemy
pip install sqlalchemy==1.4.54
```
3. **Check for Conflicting Packages**: Ensure that there are no other
packages that might be conflicting with SQLAlchemy. Sometimes, other installed
packages might cause conflicts.
4. **Review Similar Issues**: There have been similar issues reported, such
as [this closed issue](https://github.com/apache/superset/issues/23478) where a
user faced an AttributeError due to a version mismatch. The solution was to
ensure the correct version of SQLAlchemy was installed
<sup>[[1]](https://github.com/apache/superset/issues/23478)</sup>.
If these steps do not resolve the issue, consider testing with a different
version of SQLAlchemy within the 1.4.x range to see if the problem persists.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]