25👍
Updates – 2022-11-22:
-
pyodbc 4.0.34 started providing Windows wheel files for Python 3.10. pyodbc 4.0.35 started providing wheel files (including Windows) for Python 3.11. TL;DR –
pip install pyodbc
should "just work" on Windows for both 64-bit and 32-bit Python. -
Christoph’s wheel archive at www.lfd.uci.edu is apparently no longer being updated.
(original answer)
The current release of pyodbc (4.0.32) does not have pre-built wheel files for Python 3.10. The easiest way to get it installed at the moment is to download the appropriate wheel from
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyodbc
and then install it. For example, if you are running 64-bit Python then you would download the 64-bit wheel and use
pip install pyodbc‑4.0.32‑cp310‑cp310‑win_amd64.whl
1👍
After i downloaded the file, i used the command below to install:
python -m pip install <Path of downloaded file>.whl
- Confused by Django's claim to MVC, what is it exactly?
- Using a custom form in a modelformset factory?