question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to build FastAPI project with fastapi-pagination 0.11.0 dependency on python 3.11

See original GitHub issue

Hey folks!

I’m getting a dependency issue when building my FastAPI project on Python 3.11, it works fine on 3.10

stack trace:

File "/Users/Jose/Workspace/test-project/venv/lib/python3.11/site-packages/fastapi_pagination/ext/sqlalchemy.py", line 6, in <module>
    from sqlakeyset.paging import (
ModuleNotFoundError: No module named 'sqlakeyset'

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
josecsotomoralescommented, Nov 29, 2022

That fixes the issue, thanks folks! @uriyyo @matthew-emw 🚀

0reactions
matthew-emwcommented, Nov 29, 2022

Hi @josecsotomorales,

Could you please try to install fastapi-pagination with sqalchemy extras:

pip install "fastapi-pagination[sqlalchemy]"

this resolved the (same) issue for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

fastapi-pagination - PyPI
fastapi -pagination is a library that provides pagination feature for FastAPI applications. For more information about library please see documentation.
Read more >
How can I install fastapi properly? - Stack Overflow
The library needs the VC v14+ runtime library, not VS build tools. ... You can install poetry, which is a new python dependency...
Read more >
Pydantic + Python 3.11 crash · Issue #7541 - GitHub
It's me again and now it crashes in a new OS. Describe your environment Operating system: Fedora 37 Python Version: 3.11.0 $ pip...
Read more >
How to Implement Pagination Using FastAPI in Python
Use fastapi-pagination library to paginate API responses ... Let's begin with an obvious less complicated end-point in fastapi to get a hang of...
Read more >
FastAPI pagination - PythonRepo
Unable to build FastAPI project with fastapi-pagination 0.11.0 dependency on python 3.11. Hey folks! I'm getting a dependency issue when ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found