Closed gwpl closed 9 months ago
Hi @gwpl in the README it is explained you need to add the web
and cli
optional dependencies to get uvicorn
and click
It is done this way because python does not handle dependencies well, and the less you install dependencies the better it is (less chances of conflicts)
Some people might want to use this package without the CLI, or with another asgi framework, so they are made optional
You can install what you need with:
pipx install rdflib-endpoint[web,cli]
Thank you for sharing! Now I know rationale! Python is not my main language and I have tons of bad experiences with Pyhton conflicting dependencies hell in past... hoped that pipx/venv improved situation a bit... Thanks for RDF code!
When trying out project via :
I've encountered problems with missing
click
and lateruvicorn
modules:I've injected them manually into pipx environment:
However, maybe it's possible to add them to your dependencies so things just work.