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

Unable to install latest textual and rich-cli together #75

Open
claviola opened this issue Nov 2, 2022 · 1 comment
Open

Unable to install latest textual and rich-cli together #75

claviola opened this issue Nov 2, 2022 · 1 comment

Comments

@claviola
Copy link

claviola commented Nov 2, 2022

Since rich-cli pins textual to 0.1.18 it's not possible to install Textual as suggested in the README:

$ pip install --index-url=https://pypi.org/simple "textual[dev]"
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: textual[dev] in ./.local/lib/python3.7/site-packages (0.1.18)
  WARNING: textual 0.1.18 does not provide the extra 'dev'
Requirement already satisfied: rich<13.0.0,>=12.3.0 in ./.local/lib/python3.7/site-packages (from textual[dev]) (12.6.0)
$ python -m textual
python: No module named textual.__main__; 'textual' is a package and cannot be directly executed
@pawamoy
Copy link

pawamoy commented Jun 24, 2024

Encountered this issue today. It looks like the solution is to relax dependencies, that Poetry initially made too restrictive when adding them with the ^ specifier (which is not standard). I suggest removing upper bounds (using >= instead of ^) and releasing a new version 🙂

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