Python: Fail to install package sqlalchemy 2.0.1

Problem description:

Fail to install sqlalchemy through the Packages tool.
Resulting in typing_extensions incompatibility.

replit 3.2.5 requires typing_extensions<4.0.0,>=3.7.4, but you have typing-extensions 4.4.0 which is incompatible.

I manage to install “pip install typing_extensions==3.7.4” and then sqlalchemy 2.0.1 has been installed. But it result in

ImportError: cannot import name 'Concatenate' from 'typing_extensions'

I decided not to go deeper.

Bug appears at this link:

https://replit.com/@KitaVoronok/LuckyBot#main.py

Browser/OS/Device:

Kubuntu, Chrome.

Try installing using pip: pip install sqlalchemy, it worked for me.

Replit.py version conflicts: `typing_extensions` should be v4
Workaround: 16th time telling someone to run in shell:

poetry add git+https://github.com/noneofyourbusiness1415252/replit-py

But unfortunately the replit package is not maintained. @BD103?


the replit package has now updated, so instead, run in Shell:

poetry update
4 Likes

God bless you Umar, for all your tellings.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.